Freigeben über


ServicesContainer.ClearMultiple Method

Removes all instances of a multi-instance service type.

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

Syntax

'Declaration
Protected Overridable Sub ClearMultiple ( _
    serviceType As Type _
)
'Usage
Dim serviceType As Type 

Me.ClearMultiple(serviceType)
protected virtual void ClearMultiple(
    Type serviceType
)
protected:
virtual void ClearMultiple(
    Type^ serviceType
)
abstract ClearMultiple : 
        serviceType:Type -> unit  
override ClearMultiple : 
        serviceType:Type -> unit
protected function ClearMultiple(
    serviceType : Type
)

Parameters

  • serviceType
    Type: System.Type

    The service type to remove.

See Also

Reference

ServicesContainer Class

System.Web.Http.Controllers Namespace