-api-id | -api-type | ms.custom |
---|---|---|
M:Windows.ApplicationModel.AppService.AppServiceConnection.SendStatelessMessageAsync(Windows.ApplicationModel.AppService.AppServiceConnection,Windows.System.RemoteSystems.RemoteSystemConnectionRequest,Windows.Foundation.Collections.ValueSet) |
winrt method |
19H1 |
Opens an app service connection, sends a single message, waits for a single response, and then closes the connection.
The app service to connect to.
Specifies the connection preferences for the AppServiceConnection, such as transport preferences (cloud/proximal/any) as well as the target System.RemoteSystems object.
The message that you want to send.
An asynchronous operation to send the message that optionally returns a response message when complete.
This API can optimize latency for remote app service scenarios which do not require state to be built up over several SendMessageAsync operations.