ServiceHost.SingletonInstance プロパティ

定義

ホストされているサービスのシングルトン インスタンスを取得します。

public:
 property System::Object ^ SingletonInstance { System::Object ^ get(); };
public object SingletonInstance { get; }
member this.SingletonInstance : obj
Public ReadOnly Property SingletonInstance As Object

プロパティ値

ホストされるサービス オブジェクト。

注釈

ServiceHost(Object, Uri[]) コンストラクターを使用して、使用するサービスのインスタンスを制御するときに、ホストされるサービスのシングルトン インスタンスを初期化します。

適用対象