DefaultServices.ClearSingle Method (Type)

 

Removes a single-instance service from the default services.

Namespace:   System.Web.Http.Services
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

protected override void ClearSingle(
    Type serviceType
)
protected:
virtual void ClearSingle(
    Type^ serviceType
) override
override ClearSingle : 
        serviceType:Type -> unit
Protected Overrides Sub ClearSingle (
    serviceType As Type
)

Parameters

  • serviceType
    Type: System.Type

    The type of the service.

See Also

DefaultServices Class
System.Web.Http.Services Namespace

Return to top