Click or drag to resize
StreamResult Class
Base class for responses that return a stream.
Inheritance Hierarchy

Namespace: Aliyun.OSS.Model
Assembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.8.0.0 (2.8.0)
Syntax
public abstract class StreamResult : GenericResult, 
	IDisposable

The StreamResult type exposes the following members.

Constructors
  NameDescription
Protected methodStreamResult
Initializes a new instance of the StreamResult class
Top
Methods
  NameDescription
Public methodDispose
Disposes of all managed and unmanaged resources.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsSetResponseStream
Check to see if Body property is set
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyContentLength
Returns the content length of the HTTP response.
(Inherited from GenericResult.)
Public propertyHttpStatusCode
Returns the status code of the HTTP response.
(Inherited from GenericResult.)
Public propertyRequestId
Gets and sets the RequestId property. ID that uniquely identifies a request. Aliyun keeps track of request IDs. If you have a question about a request, include the request ID in your correspondence.
(Inherited from GenericResult.)
Public propertyResponseMetadata
Contains additional information about the request, such as the md5 value of the object.
(Inherited from GenericResult.)
Public propertyResponseStream
An open stream read from to get the data from OSS. In order to use this stream without leaking the underlying resource, please wrap access to the stream within a using block.
Top
See Also