Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
AsyncRequestMessage<T> Class
Definition
- Namespace:
- CommunityToolkit.Mvvm.Messaging.Messages
- Assembly:
- CommunityToolkit.Mvvm.dll
- Package:
- CommunityToolkit.Mvvm v8.4.0
- Package:
- CommunityToolkit.Mvvm v7.0.3
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.
A class for async request messages, which can either be used directly or through derived classes.
public class AsyncRequestMessage<T>
type AsyncRequestMessage<'T> = class
Public Class AsyncRequestMessage(Of T)
Type Parameters
- T
The type of request to make.
- Inheritance
-
AsyncRequestMessage<T>
Constructors
| AsyncRequestMessage<T>() |
Properties
| HasReceivedResponse |
Gets a value indicating whether a response has already been assigned to this instance. |
| Response |
Gets the message response. |
Methods
| GetAwaiter() | Gets an awaiter used to await this Task<TResult>. |
| Reply(T) |
Replies to the current request message. |
| Reply(Task<T>) |
Replies to the current request message. |
