Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Removes all the service instances of the given service type.
Namespace: System.Web.Http.Controllers
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Overridable Sub Clear ( _
serviceType As Type _
)
'Usage
Dim instance As ServicesContainer
Dim serviceType As Type
instance.Clear(serviceType)
public virtual void Clear(
Type serviceType
)
public:
virtual void Clear(
Type^ serviceType
)
abstract Clear :
serviceType:Type -> unit
override Clear :
serviceType:Type -> unit
public function Clear(
serviceType : Type
)
Parameters
serviceType
Type: System.TypeThe service type to clear from the services list.