C# Class Microsoft.Win32.SafeHandles.SafeProcessHandle

Inheritance: SafeHandleZeroOrMinusOneIsInvalid
Show file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
SafeProcessHandle ( System existingHandle, bool ownsHandle )
SafeProcessHandle ( IntPtr existingHandle, bool ownsHandle ) : System

Protected Methods

Method Description
ReleaseHandle ( ) : bool

Private Methods

Method Description
InitialSetHandle ( IntPtr h ) : void
SafeProcessHandle ( ) : System
SafeProcessHandle ( IntPtr handle ) : System
SafeProcessHandle ( int processId ) : System

Method Details

ReleaseHandle() protected method

protected ReleaseHandle ( ) : bool
return bool

SafeProcessHandle() public method

public SafeProcessHandle ( System existingHandle, bool ownsHandle )
existingHandle System
ownsHandle bool

SafeProcessHandle() public method

public SafeProcessHandle ( IntPtr existingHandle, bool ownsHandle ) : System
existingHandle System.IntPtr
ownsHandle bool
return System