Udostępnij za pośrednictwem


PipelineResponse.ContentStream Property

Definition

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.

Applies to