ContextItemManager.Unsubscribe Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Overloads
| Name | Description |
|---|---|
| Unsubscribe(Type, SubscribeContextCallback) |
Wanneer een abonnement wordt overschreven in een afgeleide klasse, verwijdert u een abonnement. |
| Unsubscribe<TContextItemType>(SubscribeContextCallback<TContextItemType>) |
Hiermee verwijdert u een abonnement. |
Unsubscribe(Type, SubscribeContextCallback)
Wanneer een abonnement wordt overschreven in een afgeleide klasse, verwijdert u een abonnement.
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)
Parameters
- contextItemType
- Type
Het type contextitem waaruit u de callback wilt verwijderen.
- callback
- SubscribeContextCallback
De SubscribeContextCallback te verwijderen.
Uitzonderingen
callback is null.
Van toepassing op
Unsubscribe<TContextItemType>(SubscribeContextCallback<TContextItemType>)
Hiermee verwijdert u een abonnement.
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))
Type parameters
- TContextItemType
Het type contextitem waaruit u de callback wilt verwijderen.
Parameters
De SubscribeContextCallback<TContextItemType> te verwijderen.
Uitzonderingen
callback is null.