IsoplaneApplication.DisposeAsync method
Stops the application and releases its port and its Client.
public ValueTask DisposeAsync()
Exceptions
| exception | condition |
|---|---|
| TimeoutException | The application did not stop within ShutdownTimeout and was stopped by force. The message includes DiagnosticOutput. |
| InvalidOperationException | The isoplane command reported a failure as it stopped. The message includes DiagnosticOutput. |
| AggregateException | More 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
- class IsoplaneApplication
- namespace Isoplane.Testing