RoleManager<TRole, TKey>.Dispose Method
Releases the resources used by the current instance of the RoleManager<TRole, TKey> class.
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
Overload List
Name | Description | |
---|---|---|
![]() |
Dispose() | Releases the resources used by the current instance of the RoleManager<TRole, TKey> class. |
![]() |
Dispose(Boolean) | Called by the Dispose() and Finalize() methods to release the managed and unmanaged resources used by the current instance of the RoleManager<TRole, TKey> class. |
See Also
RoleManager<TRole, TKey> Class
Microsoft.AspNet.Identity Namespace
ASP.NET Identity
Return to top
RoleManager<TRole, TKey>.Dispose Method ()
Releases the resources used by the current instance of the RoleManager<TRole, TKey> class.
Syntax
public void Dispose()
public:
virtual void Dispose() sealed
abstract Dispose : unit -> unit
override Dispose : unit -> unit
Public Sub Dispose
Implements
See Also
Return to top
RoleManager<TRole, TKey>.Dispose Method (Boolean)
Called by the Dispose() and Finalize() methods to release the managed and unmanaged resources used by the current instance of the RoleManager<TRole, TKey> class.
Syntax
protected virtual void Dispose(
bool disposing
)
protected:
virtual void Dispose(
bool disposing
)
abstract Dispose :
disposing:bool -> unit
override Dispose :
disposing:bool -> unit
Protected Overridable Sub Dispose (
disposing As Boolean
)
Parameters
disposing
Type: System.Booleantrue to release managed and unmanaged resources; false to release only unmanaged resources.
See Also
Return to top