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[]) 使用して、使用されるサービスのインスタンスを制御するときにホストされるサービスのシングルトン インスタンスを初期化します。

適用対象