Export (0) Print
Expand All

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)

protected override void ClearSingle(
	Type serviceType
)

Parameters

serviceType
Type: System.Type

The type of the service.

To check whether a service is single-instance, call IsSingleService.

Show:
© 2014 Microsoft