Partager via


ServiceManager.Unsubscribe Méthode

Définition

Surcharges

Unsubscribe(Type, SubscribeServiceCallback)

Supprime un abonnement pour un type de service.

Unsubscribe<TServiceType>(SubscribeServiceCallback<TServiceType>)

Supprime un abonnement pour un type de service.

Unsubscribe(Type, SubscribeServiceCallback)

Supprime un abonnement pour un type de service.

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)

Paramètres

serviceType
Type

Type de service duquel supprimer l'abonnement.

callback
SubscribeServiceCallback

Objet de rappel à supprimer de l'abonnement.

Exceptions

serviceType ou callback est null.

S’applique à

Unsubscribe<TServiceType>(SubscribeServiceCallback<TServiceType>)

Supprime un abonnement pour un type de service.

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

Paramètres de type

TServiceType

Type du service duquel supprimer l'abonnement.

Paramètres

callback
SubscribeServiceCallback<TServiceType>

Objet de rappel à supprimer de l'abonnement.

Exceptions

callback a la valeur null.

S’applique à