Compartir a través de


ContextItemManager.Unsubscribe Método

Definición

Sobrecargas

Unsubscribe(Type, SubscribeContextCallback)

Cuando se invalida en una clase derivada, quita una suscripción.

Unsubscribe<TContextItemType>(SubscribeContextCallback<TContextItemType>)

Quita una suscripción.

Unsubscribe(Type, SubscribeContextCallback)

Cuando se invalida en una clase derivada, quita una suscripción.

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)

Parámetros

contextItemType
Type

El tipo de elemento de contexto del que se va a quitar la devolución de llamada.

callback
SubscribeContextCallback

SubscribeContextCallback que se va a quitar.

Excepciones

callback es null.

Se aplica a

Unsubscribe<TContextItemType>(SubscribeContextCallback<TContextItemType>)

Quita una suscripción.

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

Parámetros de tipo

TContextItemType

El tipo de elemento de contexto del que se va a quitar la devolución de llamada.

Parámetros

Excepciones

callback es null.

Se aplica a