PipelineResponse.ContentStream Property

Definition

Gets or sets the contents of the HTTP response.

C#
public abstract System.IO.Stream? ContentStream { get; set; }

Property Value

Remarks

ContentStream may be a stream that contains the buffered contents transferred from the network stream that originally held the contents of the service response; or it may be the live network stream itself, depending on the value of BufferResponse on the message sent via Send(PipelineMessage). Please refer to the documentation for a client's service method if needed to understand whether this PipelineResponse instance must be disposed to close the network stream.

Applies to

Produk Versi
Azure SDK for .NET Latest, Preview