DefaultServices.ClearSingle Method
Removes a single-instance service from the default services.
Namespace: System.Web.Http.Services
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Protected Overrides Sub ClearSingle ( _
serviceType As Type _
)
'Usage
Dim serviceType As Type
Me.ClearSingle(serviceType)
protected override void ClearSingle(
Type serviceType
)
protected:
virtual void ClearSingle(
Type^ serviceType
) override
abstract ClearSingle :
serviceType:Type -> unit
override ClearSingle :
serviceType:Type -> unit
protected override function ClearSingle(
serviceType : Type
)
Parameters
serviceType
Type: System.TypeThe type of the service.
Remarks
To check whether a service is single-instance, call IsSingleService.