Freigeben über


IAsyncServiceContainer.RemoveService Method

Definition

Overloads

RemoveService(Type)

Removes the service of the type specified.

RemoveService(Type, Boolean)

Removes the service of the type specified.

RemoveService(Type)

Removes the service of the type specified.

public:
 void RemoveService(Type ^ serviceType);
public:
 void RemoveService(Platform::Type ^ serviceType);
public void RemoveService (Type serviceType);
abstract member RemoveService : Type -> unit
Public Sub RemoveService (serviceType As Type)

Parameters

serviceType
Type

The type of service to remove.

Applies to

RemoveService(Type, Boolean)

Removes the service of the type specified.

public:
 void RemoveService(Type ^ serviceType, bool promote);
public:
 void RemoveService(Platform::Type ^ serviceType, bool promote);
public void RemoveService (Type serviceType, bool promote);
abstract member RemoveService : Type * bool -> unit
Public Sub RemoveService (serviceType As Type, promote As Boolean)

Parameters

serviceType
Type

The type of service to remove.

promote
Boolean

Applies to