AppServiceConnection.SendMessageAsync(ValueSet) Method
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.
Sends a message to the other endpoint of the app service connection.
public:
virtual IAsyncOperation<AppServiceResponse ^> ^ SendMessageAsync(ValueSet ^ message) = SendMessageAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<AppServiceResponse> SendMessageAsync(ValueSet const& message);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<AppServiceResponse> SendMessageAsync(ValueSet message);
function sendMessageAsync(message)
Public Function SendMessageAsync (message As ValueSet) As IAsyncOperation(Of AppServiceResponse)
Parameters
- message
- ValueSet
The message that you want to send.
Returns
An asynchronous operation to send the message that optionally returns a response message when complete.
- Attributes
Remarks
Message delivery is not guaranteed. The AppServiceResponseStatus tells you whether delivery succeeded or not.
When multiple messages are sent, RequestReceived is not guaranteed to fire in the same order that the messages were sent. This method is asynchronous, meaning that it will return whenever the work that needs to be done is complete. No ordering is enforced.