次の方法で共有


SubscribeServiceCallback デリゲート

更新 : 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 メソッドを使用します。

参照

参照

Microsoft.Windows.Design 名前空間

SubscribeServiceCallback<ServiceType>

ServiceManager

その他の技術情報

コンテキスト アーキテクチャの編集

WPF デザイナの機能拡張