• Home
  • Blog
  • Docs
  • GitHub
Show / Hide Table of Contents

Class ProcessExtensions

Inheritance
System.Object
ProcessExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Snowflake.Orchestration.Process
Assembly: Snowflake.Framework.dll
Syntax
public static class ProcessExtensions

Methods

WaitForExitAsync(Process, CancellationToken)

Waits asynchronously for the process to exit.

Declaration
public static Task WaitForExitAsync(this Process process, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
System.Diagnostics.Process process

The process to wait for cancellation.

System.Threading.CancellationToken cancellationToken

A cancellation token. If invoked, the task will return immediately as canceled.

Returns
Type Description
System.Threading.Tasks.Task

A Task representing waiting for the process to end.

Built with ❤️ by @chyyran. Text content licensed under CC-BY-SA 4.0.