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

Определение

Перегрузки

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)

Параметры

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.

Исключения

Параметр serviceType или callback имеет значение null.serviceType or callback is null.

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

Параметры типа

TServiceType

Тип услуги, на которую отменяется подписка.The type of the service to remove the subscription from.

Параметры

callback
SubscribeServiceCallback<TServiceType> SubscribeServiceCallback<TServiceType> SubscribeServiceCallback<TServiceType> SubscribeServiceCallback<TServiceType>

Объект обратного вызова, удаляемый из подписки.The callback object to remove from the subscription.

Исключения

Свойство callback имеет значение null.callback is null.

Применяется к