SetResult<TResult>(TResult, in CloseActivityOptions)
Closes the activity with success and sets includes a result in the outcome message.
Declaration
void SetResult<TResult>(TResult result, in CloseActivityOptions options = default)
Parameters
Type | Name | Description |
---|---|---|
TResult | result | The result of the activity. |
CloseActivityOptions | options | Options. |
Type Parameters
Name | Description |
---|---|
TResult |