Share via


ServicesContainer.ClearMultiple Method (Type)

 

Removes all instances of a multi-instance service type.

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

Syntax

protected virtual void ClearMultiple(
    Type serviceType
)
protected:
virtual void ClearMultiple(
    Type^ serviceType
)
abstract ClearMultiple : 
        serviceType:Type -> unit
override ClearMultiple : 
        serviceType:Type -> unit
Protected Overridable Sub ClearMultiple (
    serviceType As Type
)

Parameters

  • serviceType
    Type: System.Type

    The service type to remove.

See Also

ServicesContainer Class
System.Web.Http.Controllers Namespace

Return to top