ContextItemManager.Unsubscribe Metódus

Definíció

Túlterhelések

Name Description
Unsubscribe(Type, SubscribeContextCallback)

Ha felül van bírálva egy származtatott osztályban, eltávolít egy előfizetést.

Unsubscribe<TContextItemType>(SubscribeContextCallback<TContextItemType>)

Eltávolít egy előfizetést.

Unsubscribe(Type, SubscribeContextCallback)

Ha felül van bírálva egy származtatott osztályban, eltávolít egy előfizetést.

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)

Paraméterek

contextItemType
Type

A visszahívás eltávolításához tartozó környezeti elem típusa.

callback
SubscribeContextCallback

Az SubscribeContextCallback eltávolítandó.

Kivételek

callback az null.

A következőre érvényes:

Unsubscribe<TContextItemType>(SubscribeContextCallback<TContextItemType>)

Eltávolít egy előfizetést.

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

Típusparaméterek

TContextItemType

A visszahívás eltávolításához tartozó környezeti elem típusa.

Paraméterek

Kivételek

callback az null.

A következőre érvényes: