Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
RequestMessage<T> Class
Definition
- Namespace:
- CommunityToolkit.Mvvm.Messaging.Messages
- Assembly:
- CommunityToolkit.Mvvm.dll
- Package:
- CommunityToolkit.Mvvm v8.4.0
- Package:
- CommunityToolkit.Mvvm v7.0.3
- Source:
- RequestMessage%7BT%7D.cs
- Source:
- RequestMessage%7BT%7D.cs
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 request messages, which can either be used directly or through derived classes.
public class RequestMessage<T>
type RequestMessage<'T> = class
Public Class RequestMessage(Of T)
Type Parameters
- T
The type of request to make.
- Inheritance
-
RequestMessage<T>
Constructors
| RequestMessage<T>() |
Properties
| HasReceivedResponse |
Gets a value indicating whether a response has already been assigned to this instance. |
| Response |
Gets the message response. |
Methods
| Reply(T) |
Replies to the current request message. |
Operators
| Implicit(RequestMessage<T> to T) |
Implicitly gets the response from a given RequestMessage<T> instance. |
