SafeProcessHandle.WaitForExitOrKillOnCancellationAsync Methode

Definition

public:
 System::Threading::Tasks::Task<System::Diagnostics::ProcessExitStatus ^> ^ WaitForExitOrKillOnCancellationAsync(System::Threading::CancellationToken cancellationToken);
[System.Runtime.Versioning.SupportedOSPlatform("maccatalyst")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
public System.Threading.Tasks.Task<System.Diagnostics.ProcessExitStatus> WaitForExitOrKillOnCancellationAsync(System.Threading.CancellationToken cancellationToken);
[<System.Runtime.Versioning.SupportedOSPlatform("maccatalyst")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
member this.WaitForExitOrKillOnCancellationAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Diagnostics.ProcessExitStatus>
Public Function WaitForExitOrKillOnCancellationAsync (cancellationToken As CancellationToken) As Task(Of ProcessExitStatus)

Parameter

cancellationToken
CancellationToken

Gibt zurück

Attribute

Gilt für: