ContextItemManager.Unsubscribe Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Överlagringar
| Name | Description |
|---|---|
| Unsubscribe(Type, SubscribeContextCallback) |
När du åsidosättas i en härledd klass tar du bort en prenumeration. |
| Unsubscribe<TContextItemType>(SubscribeContextCallback<TContextItemType>) |
Tar bort en prenumeration. |
Unsubscribe(Type, SubscribeContextCallback)
När du åsidosättas i en härledd klass tar du bort en prenumeration.
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)
Parametrar
- contextItemType
- Type
Typen av kontextobjekt som återanropet ska tas bort från.
- callback
- SubscribeContextCallback
Att SubscribeContextCallback ta bort.
Undantag
callback är null.
Gäller för
Unsubscribe<TContextItemType>(SubscribeContextCallback<TContextItemType>)
Tar bort en prenumeration.
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))
Typparametrar
- TContextItemType
Typen av kontextobjekt som återanropet ska tas bort från.
Parametrar
Att SubscribeContextCallback<TContextItemType> ta bort.
Undantag
callback är null.