SetException(Exception, in CloseActivityOptions)
Closes the activity with an Exception.
Declaration
void SetException(Exception exception, in CloseActivityOptions options = default)
Parameters
Type | Name | Description |
---|---|---|
Exception | exception | An Exception. |
CloseActivityOptions | options | Options. |