UserManager<TUser, TKey>.Dispose Method

 

Releases the resources used by the current instance of the UserManager<TUser, TKey> class.

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

Overload List

Name Description
System_CAPS_pubmethod Dispose()

Releases the resources used by the current instance of the UserManager<TUser, TKey> class.

System_CAPS_protmethod Dispose(Boolean)

Releases the resources used by the current instance of the UserManager<TUser, TKey> class.

See Also

UserManager<TUser, TKey> Class
Microsoft.AspNet.Identity Namespace

Return to top

UserManager<TUser, TKey>.Dispose Method ()

Releases the resources used by the current instance of the UserManager<TUser, TKey> class.

Syntax

public void Dispose()
public:
virtual void Dispose() sealed
abstract Dispose : unit -> unit
override Dispose : unit -> unit
Public Sub Dispose

Implements

IDisposable.Dispose()

See Also

ASP.NET Identity

Return to top

UserManager<TUser, TKey>.Dispose Method (Boolean)

Releases the resources used by the current instance of the UserManager<TUser, 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.Boolean

    true to release both managed and unmanaged resources; false to release only unmanaged resources.

See Also

ASP.NET Identity

Return to top