Modifica

Condividi tramite


AsyncRequestMessage<T>.Reply Method

Definition

Overloads

Reply(Task<T>)

Replies to the current request message.

Reply(T)

Replies to the current request message.

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.

Exceptions

Thrown if Response has already been set.

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.

Exceptions

Thrown if Response has already been set.

Applies to