ServiceHost.SingletonInstance プロパティ
定義
ホストされるサービスのシングルトン インスタンスを取得します。Gets the singleton instance of the hosted service.
public:
property System::Object ^ SingletonInstance { System::Object ^ get(); };
public object SingletonInstance { get; }
member this.SingletonInstance : obj
Public ReadOnly Property SingletonInstance As Object
プロパティ値
ホストされるサービス オブジェクト。The hosted service object.
注釈
使用するサービスのインスタンスを制御する場合は、コンストラクターを使用して ServiceHost(Object, Uri[]) 、ホストされるサービスのシングルトンインスタンスを初期化します。Use the ServiceHost(Object, Uri[]) constructor to initialize a singleton instance of the service to be hosted when you want to control the instance of the service that is used.