Edit

Share via


Response.FromResult<TResult>(TResult) Method

Definition

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.

Applies to