Class SafeJobObjectHandle
A System.Runtime.InteropServices.SafeHandle for Windows JobObjects.
Inheritance
System.Object
System.Runtime.ConstrainedExecution.CriticalFinalizerObject
System.Runtime.InteropServices.SafeHandle
Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
SafeJobObjectHandle
Implements
System.IDisposable
Inherited Members
Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid.IsInvalid
System.Runtime.InteropServices.SafeHandle.handle
System.Runtime.InteropServices.SafeHandle.SetHandle(System.IntPtr)
System.Runtime.InteropServices.SafeHandle.DangerousGetHandle()
System.Runtime.InteropServices.SafeHandle.Close()
System.Runtime.InteropServices.SafeHandle.Dispose()
System.Runtime.InteropServices.SafeHandle.Dispose(System.Boolean)
System.Runtime.InteropServices.SafeHandle.SetHandleAsInvalid()
System.Runtime.InteropServices.SafeHandle.DangerousAddRef(System.Boolean)
System.Runtime.InteropServices.SafeHandle.DangerousRelease()
System.Runtime.InteropServices.SafeHandle.IsClosed
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Microsoft.Win32.SafeHandles
Assembly: Fs.Processes.dll
Syntax
public class SafeJobObjectHandle : SafeHandleZeroOrMinusOneIsInvalid, IDisposable
Constructors
| Improve this Doc View SourceSafeJobObjectHandle()
Creates a new SafeJobObjectHandle.
Declaration
public SafeJobObjectHandle()
SafeJobObjectHandle(IntPtr, Boolean)
Creates a new SafeJobObjectHandle for a specific handle.
Declaration
public SafeJobObjectHandle(IntPtr existingHandle, bool ownsHandle)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | existingHandle | The handle to wrap. |
System.Boolean | ownsHandle |
|
Methods
| Improve this Doc View SourceReleaseHandle()
Releases the associated handle.
Declaration
protected override bool ReleaseHandle()
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
System.Runtime.InteropServices.SafeHandle.ReleaseHandle()
Implements
System.IDisposable