Compartilhar via


ClientPipeline.SendAsync(PipelineMessage) Method

Definition

Send the provided PipelineMessage.

public System.Threading.Tasks.ValueTask SendAsync (System.ClientModel.Primitives.PipelineMessage message);
member this.SendAsync : System.ClientModel.Primitives.PipelineMessage -> System.Threading.Tasks.ValueTask
Public Function SendAsync (message As PipelineMessage) As ValueTask

Parameters

message
PipelineMessage

The PipelineMessage to send.

Returns

Exceptions

Thrown if an error other than the service responding with an error response occurred while sending the HTTP request.

Remarks

All necessary values on Request should be set prior to calling Send(PipelineMessage). After the method returns, Response will be populated with the details of the service response.

Applies to