C# Class AcTools.Utils.Helpers.ProcessWrapper

Afficher le fichier Open project: gro-ove/actools

Méthodes publiques

Méthode Description
ProcessWrapper ( Process inner ) : System
RaiseOnExited ( ) : void
ReleaseProcessHandle ( IntPtr handle ) : void
WaitForExitSafe ( int milliseconds ) : bool
WaitForExitSafe ( ) : void
WaitForExitSafeAsync ( CancellationToken cancellation = default(CancellationToken) ) : Task

Private Methods

Méthode Description
GetProcessHandle ( Kernel32 access, bool throwIfExited ) : IntPtr

Method Details

ProcessWrapper() public méthode

public ProcessWrapper ( Process inner ) : System
inner System.Diagnostics.Process
Résultat System

RaiseOnExited() public méthode

public RaiseOnExited ( ) : void
Résultat void

ReleaseProcessHandle() public méthode

public ReleaseProcessHandle ( IntPtr handle ) : void
handle System.IntPtr
Résultat void

WaitForExitSafe() public méthode

public WaitForExitSafe ( int milliseconds ) : bool
milliseconds int
Résultat bool

WaitForExitSafe() public méthode

public WaitForExitSafe ( ) : void
Résultat void

WaitForExitSafeAsync() public méthode

public WaitForExitSafeAsync ( CancellationToken cancellation = default(CancellationToken) ) : Task
cancellation System.Threading.CancellationToken
Résultat Task