ServiceManager.Unsubscribe ServiceManager.Unsubscribe ServiceManager.Unsubscribe ServiceManager.Unsubscribe Method

Definition

Overloads

Unsubscribe(Type, SubscribeServiceCallback) Unsubscribe(Type, SubscribeServiceCallback) Unsubscribe(Type, SubscribeServiceCallback) Unsubscribe(Type, SubscribeServiceCallback)

Removes a subscription for a service type.

Unsubscribe<TServiceType>(SubscribeServiceCallback<TServiceType>) Unsubscribe<TServiceType>(SubscribeServiceCallback<TServiceType>) Unsubscribe<TServiceType>(SubscribeServiceCallback<TServiceType>) Unsubscribe<TServiceType>(SubscribeServiceCallback<TServiceType>)

Removes a subscription for a service type.

Unsubscribe(Type, SubscribeServiceCallback) Unsubscribe(Type, SubscribeServiceCallback) Unsubscribe(Type, SubscribeServiceCallback) Unsubscribe(Type, SubscribeServiceCallback)

Removes a subscription for a service type.

public:
 abstract void Unsubscribe(Type ^ serviceType, System::Activities::Presentation::SubscribeServiceCallback ^ callback);
public abstract void Unsubscribe (Type serviceType, System.Activities.Presentation.SubscribeServiceCallback callback);
abstract member Unsubscribe : Type * System.Activities.Presentation.SubscribeServiceCallback -> unit
Public MustOverride Sub Unsubscribe (serviceType As Type, callback As SubscribeServiceCallback)

Parameters

serviceType
Type Type Type Type

The type of service to remove the subscription from.

callback
SubscribeServiceCallback SubscribeServiceCallback SubscribeServiceCallback SubscribeServiceCallback

The callback object to remove from the subscription.

Exceptions

Unsubscribe<TServiceType>(SubscribeServiceCallback<TServiceType>) Unsubscribe<TServiceType>(SubscribeServiceCallback<TServiceType>) Unsubscribe<TServiceType>(SubscribeServiceCallback<TServiceType>) Unsubscribe<TServiceType>(SubscribeServiceCallback<TServiceType>)

Removes a subscription for a service type.

public:
generic <typename TServiceType>
 void Unsubscribe(System::Activities::Presentation::SubscribeServiceCallback<TServiceType> ^ callback);
public void Unsubscribe<TServiceType> (System.Activities.Presentation.SubscribeServiceCallback<TServiceType> callback);
member this.Unsubscribe : System.Activities.Presentation.SubscribeServiceCallback<'ServiceType> -> unit
Public Sub Unsubscribe(Of TServiceType) (callback As SubscribeServiceCallback(Of TServiceType))

Type Parameters

TServiceType

The type of the service to remove the subscription from.

Parameters

Exceptions

Applies to