你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PipelineResponse.ContentStream Property
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.
Gets or sets the contents of the HTTP response.
public abstract System.IO.Stream? ContentStream { get; set; }
member this.ContentStream : System.IO.Stream with get, set
Public MustOverride Property ContentStream As Stream
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.