ServiceProvider.RemoveAll Method (Type)

Removes all service provider.

Namespace:  Microsoft.Owin.Hosting.Services
Assembly:  Microsoft.Owin.Hosting (in Microsoft.Owin.Hosting.dll)

Syntax

'Declaration
Public Overridable Function RemoveAll ( _
    type As Type _
) As ServiceProvider
'Usage
Dim instance As ServiceProvider 
Dim type As Type 
Dim returnValue As ServiceProvider 

returnValue = instance.RemoveAll(type)
public virtual ServiceProvider RemoveAll(
    Type type
)
public:
virtual ServiceProvider^ RemoveAll(
    Type^ type
)
abstract RemoveAll : 
        type:Type -> ServiceProvider  
override RemoveAll : 
        type:Type -> ServiceProvider
public function RemoveAll(
    type : Type
) : ServiceProvider

Parameters

  • type
    Type: System.Type
    The type of the service provider to remove.

Return Value

Type: Microsoft.Owin.Hosting.Services.ServiceProvider
The ServiceProvider being removed.

See Also

Reference

ServiceProvider Class

RemoveAll Overload

Microsoft.Owin.Hosting.Services Namespace