Bagikan melalui


ContextItemManager.Unsubscribe Metode

Definisi

Overload

Unsubscribe(Type, SubscribeContextCallback)

Saat ditimpa di kelas turunan, menghapus langganan.

Unsubscribe<TContextItemType>(SubscribeContextCallback<TContextItemType>)

Menghapus langganan.

Unsubscribe(Type, SubscribeContextCallback)

Saat ditimpa di kelas turunan, menghapus langganan.

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)

Parameter

contextItemType
Type

Jenis item konteks untuk menghapus panggilan balik.

Pengecualian

callbackadalah null.

Berlaku untuk

Unsubscribe<TContextItemType>(SubscribeContextCallback<TContextItemType>)

Menghapus langganan.

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))

Jenis parameter

TContextItemType

Jenis item konteks untuk menghapus panggilan balik.

Parameter

Pengecualian

callbackadalah null.

Berlaku untuk