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:
Microsoft.Toolkit.Mvvm.Messaging.Messages
Assembly:
Microsoft.Toolkit.Mvvm.dll
Package:
Microsoft.Toolkit.Mvvm v7.0.2
Package:
Microsoft.Toolkit.Mvvm v7.1.2
Source:
AsyncRequestMessage%7BT%7D.cs
Source:
AsyncRequestMessage%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 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()
Reply(T)

Replies to the current request message.

Reply(Task<T>)

Replies to the current request message.

Applies to