Skip to main content

IsoplaneApplication.DisposeAsync method

Stops the application and releases its port and its Client.

public ValueTask DisposeAsync()

Exceptions​

exceptioncondition
TimeoutExceptionThe application did not stop within ShutdownTimeout and was stopped by force. The message includes DiagnosticOutput.
InvalidOperationExceptionThe isoplane command reported a failure as it stopped. The message includes DiagnosticOutput.
AggregateExceptionMore than one of these happened.

Remarks​

await using calls it. A second call returns the result of the first. It throws when the application did not stop cleanly, so that a test does not pass over an application that crashed or hung.

See Also​