更新 : 2007 年 11 月
サービス サブスクリプションのコールバックであるデリゲート。
名前空間 : Microsoft.Windows.Design
アセンブリ : Microsoft.Windows.Design (Microsoft.Windows.Design.dll 内)
構文
'宣言
Public Delegate Sub SubscribeServiceCallback ( _
serviceType As Type, _
serviceInstance As Object _
)
'使用
Dim instance As New SubscribeServiceCallback(AddressOf HandlerMethod)
public delegate void SubscribeServiceCallback(
Type serviceType,
Object serviceInstance
)
public delegate void SubscribeServiceCallback(
Type^ serviceType,
Object^ serviceInstance
)
JScript では、デリゲートは使用できません。
パラメータ
serviceType
型 : System.Type発行されたばかりのサービスの型。
serviceInstance
型 : System.Objectサービスのインスタンス。
解説
サービスをサブスクライブするには Subscribe メソッドを使用します。
参照
参照
SubscribeServiceCallback<ServiceType>