Class SafeAppControlHandle
Definition
- Namespace:
- Tizen.Applications
- Assembly:
- Tizen.Applications.Common.dll
- API Level:
- 3
Represents a wrapper class for an unmanaged AppControl handle.
public sealed class SafeAppControlHandle : SafeHandle, IDisposable
- Inheritance
- Implements
Constructors
View SourceSafeAppControlHandle()
Initializes a new instance of the SafeAppControlHandle class.
Declaration
public SafeAppControlHandle()
API Level: 3
View SourceSafeAppControlHandle(IntPtr, Boolean)
Initializes a new instance of the SafeAppControlHandle class.
Declaration
public SafeAppControlHandle(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: 3
Properties
View SourceIsInvalid
Gets a value that indicates whether the handle is invalid.
Declaration
public override bool IsInvalid { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
API Level: 3
Methods
View SourceReleaseHandle()
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. |