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
'Declaration
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.TypeThe type of the service.
Implements
IServiceContainer.RemoveService(Type)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.