Dela via


AppServiceRequest.SendResponseAsync(ValueSet) Method

Definition

Sends a response to a received request.

public:
 virtual IAsyncOperation<AppServiceResponseStatus> ^ SendResponseAsync(ValueSet ^ message) = SendResponseAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<AppServiceResponseStatus> SendResponseAsync(ValueSet const& message);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<AppServiceResponseStatus> SendResponseAsync(ValueSet message);
function sendResponseAsync(message)
Public Function SendResponseAsync (message As ValueSet) As IAsyncOperation(Of AppServiceResponseStatus)

Parameters

message
ValueSet

The message that you want to include in the response.

Returns

An asynchronous operation to send the response.

Attributes

Remarks

Calling AppServiceRequest is optional. An endpoint for an app service does not have to return a response to a request.

Applies to

See also