Redigera

Dela via


GrainReference.InvokeAsync Method

Definition

Overloads

InvokeAsync(IRequest)

Invokes the provided method.

InvokeAsync<T>(IRequest)

Invokes the provided method.

InvokeAsync(IRequest)

Invokes the provided method.

protected System.Threading.Tasks.ValueTask InvokeAsync (Orleans.Runtime.IRequest methodDescription);
member this.InvokeAsync : Orleans.Runtime.IRequest -> System.Threading.Tasks.ValueTask
Protected Function InvokeAsync (methodDescription As IRequest) As ValueTask

Parameters

methodDescription
IRequest

The method description.

Returns

A ValueTask representing the operation.

Applies to

InvokeAsync<T>(IRequest)

Invokes the provided method.

protected System.Threading.Tasks.ValueTask<T> InvokeAsync<T> (Orleans.Runtime.IRequest methodDescription);
member this.InvokeAsync : Orleans.Runtime.IRequest -> System.Threading.Tasks.ValueTask<'T>
Protected Function InvokeAsync(Of T) (methodDescription As IRequest) As ValueTask(Of T)

Type Parameters

T

The underlying method return type.

Parameters

methodDescription
IRequest

The method description.

Returns

The result of the invocation.

Applies to