Table of Contents

Class ServerClassUnownedHandle

Namespace
Soup.Internal
Assembly
Soup-3.0.dll
public class ServerClassUnownedHandle : ServerClassHandle, IDisposable
Inheritance
ServerClassUnownedHandle
Implements
Inherited Members

Constructors

ServerClassUnownedHandle(IntPtr)

Creates a new instance of ServerClassOwnedHandle. Assumes that the given pointer is unowned by the runtime.

public ServerClassUnownedHandle(IntPtr ptr)

Parameters

ptr IntPtr

Properties

NullHandle

public static ServerClassUnownedHandle NullHandle { get; }

Property Value

ServerClassUnownedHandle

Methods

Copy()

public ServerClassOwnedHandle Copy()

Returns

ServerClassOwnedHandle

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.