Edit

Share via


AsyncCollectionRequestMessage<T>.Reply Method

Definition

Overloads

Reply(Func<CancellationToken,Task<T>>)

Replies to the current request message.

Reply(Task<T>)

Replies to the current request message.

Reply(T)

Replies to the current request message.

Reply(Func<CancellationToken,Task<T>>)

Replies to the current request message.

public void Reply (Func<System.Threading.CancellationToken,System.Threading.Tasks.Task<T>> response);
member this.Reply : Func<System.Threading.CancellationToken, System.Threading.Tasks.Task<'T>> -> unit
Public Sub Reply (response As Func(Of CancellationToken, Task(Of T)))

Parameters

response
Func<CancellationToken,Task<T>>

The response to use to reply to the request message.

Applies to

Reply(Task<T>)

Replies to the current request message.

public void Reply (System.Threading.Tasks.Task<T> response);
member this.Reply : System.Threading.Tasks.Task<'T> -> unit
Public Sub Reply (response As Task(Of T))

Parameters

response
Task<T>

The response to use to reply to the request message.

Applies to

Reply(T)

Replies to the current request message.

public void Reply (T response);
member this.Reply : 'T -> unit
Public Sub Reply (response As T)

Parameters

response
T

The response to use to reply to the request message.

Applies to