你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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