Method StopAsync
| Improve this Doc View SourceStopAsync()
Stop this shard.
Declaration
public Task StopAsync()
Returns
| Type | Description |
|---|---|
| Task |
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | Thrown if this shard is not running. |
| ObjectDisposedException | Thrown if this shard has been disposed. |