Method SetException
SetException(Exception)
Ends an activity (opened with OpenActivity(String) or OpenAsyncActivity(String) with a given Exception.
Declaration
public bool SetException(Exception exception)
Parameters
Type | Name | Description |
---|---|---|
Exception | exception | The exception. |
Returns
Type | Description |
---|---|
Boolean | Always |
SetException(Exception, ref CallerInfo)
Declaration
public bool SetException(Exception exception, ref CallerInfo callerInfo)
Parameters
Type | Name | Description |
---|---|---|
Exception | exception | |
CallerInfo | callerInfo |
Returns
Type | Description |
---|---|
Boolean |