Show / Hide Table of Contents

    Class SafeAccountHandle

    Definition

    Namespace:
    Tizen.Account.AccountManager
    Assembly:
    Tizen.Account.AccountManager.dll
    API Level:
    4

    Represents a wrapper class for a unmanaged Account handle.

    public sealed class SafeAccountHandle : SafeHandle, IDisposable
    Inheritance
    Object
    CriticalFinalizerObject
    SafeHandle
    SafeAccountHandle
    Implements
    IDisposable

    Constructors

    View Source

    SafeAccountHandle()

    Initializes a new instance of the SafeAppControlHandle class.

    Declaration
    public SafeAccountHandle()
    API Level: 4
    View Source

    SafeAccountHandle(IntPtr, Boolean)

    Initializes a new instance of the SafeAccountHandle class.

    Declaration
    public SafeAccountHandle(IntPtr existingHandle, bool ownsHandle)
    Parameters
    Type Name Description
    IntPtr existingHandle

    An IntPtr object that represents the pre-existing handle to use.

    Boolean ownsHandle

    true to reliably release the handle during the finalization phase; false to prevent reliable release.

    API Level: 4

    Properties

    View Source

    IsInvalid

    Gets a value that indicates whether the handle is invalid.

    Declaration
    public override bool IsInvalid { get; }
    Property Value
    Type Description
    Boolean
    Overrides
    SafeHandle.IsInvalid
    API Level: 4

    Methods

    View Source

    ReleaseHandle()

    When overridden in a derived class, executes the code required to free the handle.

    Declaration
    protected override bool ReleaseHandle()
    Returns
    Type Description
    Boolean

    true if the handle is released successfully

    Overrides
    SafeHandle.ReleaseHandle()

    Implements

    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2022 Samsung
    Generated by DocFX