Response.FromResult<TResult>(TResult) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new response object which has been fulfilled with the provided value.
public static Orleans.Serialization.Invocation.Response FromResult<TResult> (TResult value);
static member FromResult : 'Result -> Orleans.Serialization.Invocation.Response
Public Shared Function FromResult(Of TResult) (value As TResult) As Response
Type Parameters
- TResult
The underlying result type.
Parameters
- value
- TResult
The value.
Returns
A new response.