IAsyncServiceContainer.RemoveService Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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