Class MessageDialogClassOwnedHandle
public class MessageDialogClassOwnedHandle : MessageDialogClassHandle, IDisposable
- Inheritance
-
MessageDialogClassOwnedHandle
- Implements
- Inherited Members
Constructors
MessageDialogClassOwnedHandle(IntPtr)
Creates a new instance of MessageDialogClassOwnedHandle. Assumes that the given pointer is owned by the runtime.
public MessageDialogClassOwnedHandle(IntPtr ptr)
Parameters
ptr
IntPtr
Methods
FromUnowned(IntPtr)
Create a MessageDialogClassOwnedHandle from a pointer that is assumed unowned.
public static MessageDialogClassOwnedHandle FromUnowned(IntPtr ptr)
Parameters
ptr
IntPtrA pointer to a MessageDialogClass which is not owned by the runtime.
Returns
- MessageDialogClassOwnedHandle
A MessageDialogClassOwnedHandle
ReleaseHandle()
When overridden in a derived class, executes the code required to free the handle.
protected override bool ReleaseHandle()