C# 클래스 Amazon.S3.Model.GetObjectResponse

The GetObjectResponse contains any header or metadata returned by S3. GetObjectResponse's contain resources that need to be disposed. The recommended way for handling GetObjectResponse objects is wrapping them in using clauses, like so: using (GetObjectResponse response = s3Client.GetObject(request)) { ... } This will ensure that any network resources, file streams and web headers have been returned back to the system for future use.
상속: Amazon.S3.Model.S3Response
파일 보기 프로젝트 열기: aws/aws-sdk-net 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CreateDirectory void
CreateDownloadStream Stream
IsSetAcceptRanges bool
IsSetDeleteMarker bool
IsSetETag bool
IsSetExpiration bool
IsSetExpires bool
IsSetLastModified bool
IsSetMissingMeta bool
IsSetPartsCount bool
IsSetReplicationStatus bool
IsSetRequestCharged bool
IsSetServerSideEncryptionKeyManagementServiceKeyId bool
IsSetServerSideEncryptionMethod bool
IsSetStorageClass bool
IsSetVersionId bool
IsSetWebsiteRedirectLocation bool
OnRaiseProgressEvent void
ValidateWrittenStreamSize void

공개 메소드들

메소드 설명
WriteResponseStreamToFile ( string filePath ) : void

Writes the content of the ResponseStream a file indicated by the filePath argument.

WriteResponseStreamToFile ( string filePath, bool append ) : void

Writes the content of the ResponseStream a file indicated by the filePath argument.

WriteResponseStreamToFileAsync ( string filePath, bool append, System cancellationToken ) : System.Threading.Tasks.Task

Writes the content of the ResponseStream a file indicated by the filePath argument.

비공개 메소드들

메소드 설명
CreateDirectory ( string filePath ) : void
CreateDownloadStream ( string filePath, bool append ) : Stream
IsSetAcceptRanges ( ) : bool
IsSetDeleteMarker ( ) : bool
IsSetETag ( ) : bool
IsSetExpiration ( ) : bool
IsSetExpires ( ) : bool
IsSetLastModified ( ) : bool
IsSetMissingMeta ( ) : bool
IsSetPartsCount ( ) : bool

Checks if PartsCount is set.

IsSetReplicationStatus ( ) : bool

Checks if ReplicationStatus property is set.

IsSetRequestCharged ( ) : bool

Checks to see if RequestCharged is set.

IsSetServerSideEncryptionKeyManagementServiceKeyId ( ) : bool

Checks if ServerSideEncryptionKeyManagementServiceKeyId property is set.

IsSetServerSideEncryptionMethod ( ) : bool
IsSetStorageClass ( ) : bool
IsSetVersionId ( ) : bool
IsSetWebsiteRedirectLocation ( ) : bool
OnRaiseProgressEvent ( string file, long incrementTransferred, long transferred, long total ) : void

This method is called by a producer of write object progress notifications. When called, all the subscribers in the invocation list will be called sequentially.

ValidateWrittenStreamSize ( long bytesWritten ) : void

메소드 상세

WriteResponseStreamToFile() 공개 메소드

Writes the content of the ResponseStream a file indicated by the filePath argument.
public WriteResponseStreamToFile ( string filePath ) : void
filePath string The location where to write the ResponseStream
리턴 void

WriteResponseStreamToFile() 공개 메소드

Writes the content of the ResponseStream a file indicated by the filePath argument.
public WriteResponseStreamToFile ( string filePath, bool append ) : void
filePath string The location where to write the ResponseStream
append bool Whether or not to append to the file if it exists
리턴 void

WriteResponseStreamToFileAsync() 공개 메소드

Writes the content of the ResponseStream a file indicated by the filePath argument.
public WriteResponseStreamToFileAsync ( string filePath, bool append, System cancellationToken ) : System.Threading.Tasks.Task
filePath string The location where to write the ResponseStream
append bool Whether or not to append to the file if it exists
cancellationToken System Cancellation token which can be used to cancel this operation.
리턴 System.Threading.Tasks.Task