Class OperationStartResult
Helper for results of an operation start.
public static class OperationStartResult
- Inheritance
-
OperationStartResult
- Inherited Members
Methods
AsyncResult<TResult>(string)
Create an async result with a token.
public static OperationStartResult<TResult> AsyncResult<TResult>(string asyncOperationToken)
Parameters
asyncOperationTokenstringToken.
Returns
- OperationStartResult<TResult>
Start result with an async token.
Type Parameters
TResultResult type, unused.
SyncResult<TResult>(TResult)
Create sync result with fixed result value.
public static OperationStartResult<TResult> SyncResult<TResult>(TResult resultValue)
Parameters
resultValueTResultSynchronous result value.
Returns
- OperationStartResult<TResult>
Start result with the result value.
Type Parameters
TResultResult type.