Table of Contents

Class TestSuiteOwnedHandle

Namespace
GLib.Internal
Assembly
GLib-2.0.dll
public class TestSuiteOwnedHandle : TestSuiteHandle, IDisposable
Inheritance
TestSuiteOwnedHandle
Implements
Inherited Members

Constructors

TestSuiteOwnedHandle(IntPtr)

Creates a new instance of TestSuiteOwnedHandle. Assumes that the given pointer is owned by the runtime.

public TestSuiteOwnedHandle(IntPtr ptr)

Parameters

ptr IntPtr

Methods

FromUnowned(IntPtr)

Create a TestSuiteOwnedHandle from a pointer that is assumed unowned.

public static TestSuiteOwnedHandle FromUnowned(IntPtr ptr)

Parameters

ptr IntPtr

A pointer to a TestSuite which is not owned by the runtime.

Returns

TestSuiteOwnedHandle

A TestSuiteOwnedHandle

ReleaseHandle()

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

protected override bool ReleaseHandle()

Returns

bool

true if the handle is released successfully; otherwise, in the event of a catastrophic failure, false. In this case, it generates a releaseHandleFailed Managed Debugging Assistant.