DataServiceStreamResponse.Stream 属性
定义
获取作为二进制流的数据服务中的二进制属性数据。Gets the binary property data from the data service as a binary stream.
public:
property System::IO::Stream ^ Stream { System::IO::Stream ^ get(); };
public System.IO.Stream Stream { get; }
member this.Stream : System.IO.Stream
Public ReadOnly Property Stream As Stream
属性值
包含二进制属性数据的流。The stream that contains the binary property data.
例外
当 DataServiceStreamResponse 已被释放时。When the DataServiceStreamResponse is already disposed.
注解
在读取此流发生网络错误时引发错误。When a network errors occurs while reading from this stream, an error is raised.
返回的 Stream 是只读的。The returned Stream is read-only.
您必须调用 Dispose 上的 DataServiceStreamResponse 方法或者 Close 上的 Stream 方法。You must call either the Dispose method on the DataServiceStreamResponse or the Close method on the Stream. 否则,网络连接将保持打开,但不可用于其他应用程序。Otherwise, the network connection remains open and unavailable to other applications.
GetResponseStream 方法用于访问流。The GetResponseStream method is used to access the stream.