Class ServiceClassUnownedHandle
public class ServiceClassUnownedHandle : ServiceClassHandle, IDisposable
- Inheritance
-
ServiceClassUnownedHandle
- Implements
- Inherited Members
Constructors
ServiceClassUnownedHandle(nint)
Creates a new instance of ServiceClassOwnedHandle. Assumes that the given pointer is unowned by the runtime.
public ServiceClassUnownedHandle(nint ptr)
Parameters
ptrnint
Properties
NullHandle
public static ServiceClassUnownedHandle NullHandle { get; }
Property Value
Methods
Copy()
public ServiceClassOwnedHandle Copy()
Returns
ReleaseHandle()
When overridden in a derived class, executes the code required to free the handle.
protected override bool ReleaseHandle()