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.

Namespace:  Microsoft.AspNet.Identity
Assembly:  Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)

Syntax

'Declaration
Protected Overridable Sub Dispose ( _
    disposing As Boolean _
)
'Usage
Dim disposing As Boolean 

Me.Dispose(disposing)
protected virtual void Dispose(
    bool disposing
)
protected:
virtual void Dispose(
    bool disposing
)
abstract Dispose : 
        disposing:bool -> unit  
override Dispose : 
        disposing:bool -> unit
protected function Dispose(
    disposing : boolean
)

Parameters

  • disposing
    Type: System.Boolean
    true to release managed and unmanaged resources; false to release only unmanaged resources.

See Also

Reference

RoleManager<TRole, TKey> Class

Dispose Overload

Microsoft.AspNet.Identity Namespace

Other Resources

ASP.NET Identity