Compartir a través de


ServiceProvider.RemoveService Method (Type)

Removes the specified service from the internal services collection

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaración
Public Sub RemoveService ( _
    serviceType As Type _
)
public void RemoveService(
    Type serviceType
)
public:
virtual void RemoveService(
    Type^ serviceType
) sealed
abstract RemoveService : 
        serviceType:Type -> unit 
override RemoveService : 
        serviceType:Type -> unit 
public final function RemoveService(
    serviceType : Type
)

Parameters

  • serviceType
    Type: System.Type
    The type of the service.

Implements

IServiceContainer.RemoveService(Type)

.NET Framework Security

See Also

Reference

ServiceProvider Class

RemoveService Overload

Microsoft.VisualStudio.Data.Framework Namespace