ContextItemManager.Unsubscribe メソッド

定義

オーバーロード

Unsubscribe(Type, SubscribeContextCallback)

派生クラスでオーバーライドされた場合は、サブスクリプションを削除します。

Unsubscribe<TContextItemType>(SubscribeContextCallback<TContextItemType>)

サブスクリプションを削除します。

Unsubscribe(Type, SubscribeContextCallback)

派生クラスでオーバーライドされた場合は、サブスクリプションを削除します。

public:
 abstract void Unsubscribe(Type ^ contextItemType, System::Activities::Presentation::SubscribeContextCallback ^ callback);
public abstract void Unsubscribe (Type contextItemType, System.Activities.Presentation.SubscribeContextCallback callback);
abstract member Unsubscribe : Type * System.Activities.Presentation.SubscribeContextCallback -> unit
Public MustOverride Sub Unsubscribe (contextItemType As Type, callback As SubscribeContextCallback)

パラメーター

contextItemType
Type

そのコールバックの削除先コンテキスト項目の型。

例外

callbacknullです。

適用対象

Unsubscribe<TContextItemType>(SubscribeContextCallback<TContextItemType>)

サブスクリプションを削除します。

public:
generic <typename TContextItemType>
 where TContextItemType : System::Activities::Presentation::ContextItem void Unsubscribe(System::Activities::Presentation::SubscribeContextCallback<TContextItemType> ^ callback);
public void Unsubscribe<TContextItemType> (System.Activities.Presentation.SubscribeContextCallback<TContextItemType> callback) where TContextItemType : System.Activities.Presentation.ContextItem;
member this.Unsubscribe : System.Activities.Presentation.SubscribeContextCallback<'ContextItemType (requires 'ContextItemType :> System.Activities.Presentation.ContextItem)> -> unit (requires 'ContextItemType :> System.Activities.Presentation.ContextItem)
Public Sub Unsubscribe(Of TContextItemType As ContextItem) (callback As SubscribeContextCallback(Of TContextItemType))

型パラメーター

TContextItemType

そのコールバックの削除先コンテキスト項目の型。

パラメーター

例外

callbacknullです。

適用対象