Show / Hide Table of Contents

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 Source

SafeJobObjectHandle()

Creates a new SafeJobObjectHandle.

Declaration
public SafeJobObjectHandle()
| Improve this Doc View Source

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

true if this instance should release the handle.

Methods

| Improve this Doc View Source

ReleaseHandle()

Releases the associated handle.

Declaration
protected override bool ReleaseHandle()
Returns
Type Description
System.Boolean

true if the handle was released.

Overrides
System.Runtime.InteropServices.SafeHandle.ReleaseHandle()

Implements

System.IDisposable
  • Improve this Doc
  • View Source
Back to top Generated by DocFX