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