Udostępnij za pośrednictwem


ContextItemManager.Unsubscribe Metoda

Definicja

Przeciążenia

Unsubscribe(Type, SubscribeContextCallback)

Po przesłonięciu w klasie pochodnej usuwa subskrypcję.

Unsubscribe<TContextItemType>(SubscribeContextCallback<TContextItemType>)

Usuwa subskrypcję.

Unsubscribe(Type, SubscribeContextCallback)

Po przesłonięciu w klasie pochodnej usuwa subskrypcję.

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)

Parametry

contextItemType
Type

Typ elementu kontekstu do usunięcia wywołania zwrotnego.

callback
SubscribeContextCallback

Element SubscribeContextCallback do usunięcia.

Wyjątki

callback to null.

Dotyczy

Unsubscribe<TContextItemType>(SubscribeContextCallback<TContextItemType>)

Usuwa subskrypcję.

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

Parametry typu

TContextItemType

Typ elementu kontekstu do usunięcia wywołania zwrotnego.

Parametry

Wyjątki

callback to null.

Dotyczy