Share via


RoleStore<TRole>.Dispose Method (Boolean)

If disposing, calls dispose on the Context. Always nulls out the Context

Namespace:  Microsoft.AspNet.Identity.EntityFramework
Assembly:  Microsoft.AspNet.Identity.EntityFramework (in Microsoft.AspNet.Identity.EntityFramework.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

See Also

Reference

RoleStore<TRole> Class

Dispose Overload

Microsoft.AspNet.Identity.EntityFramework Namespace