RequestMessage<T>.Implicit(RequestMessage<T> to T) Operator
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.
Implicitly gets the response from a given RequestMessage<T> instance.
public static implicit operator T (Microsoft.Toolkit.Mvvm.Messaging.Messages.RequestMessage<T> message);
static member op_Implicit : Microsoft.Toolkit.Mvvm.Messaging.Messages.RequestMessage<'T> -> 'T
Public Shared Widening Operator CType (message As RequestMessage(Of T)) As T
Parameters
- message
- RequestMessage<T>
The input RequestMessage<T> instance.
Returns
T
Exceptions
Thrown when HasReceivedResponse is false
.