AsyncRequestMessage<T>.Reply 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.
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.