C# 클래스 Microsoft.WindowsAzure.StorageClient.CloudBlockBlob

Represents a blob that is uploaded as a set of blocks.
상속: CloudBlob
파일 보기 프로젝트 열기: richorama/azure-sdk-for-mono 1 사용 예제들

공개 메소드들

메소드 설명
BeginDownloadBlockList ( BlockListingFilter blockListingFilter, AsyncCallback callback, object state ) : IAsyncResult

Begins an asynchronous operation to return an enumerable collection of the blob's blocks, using the specified block list filter.

BeginDownloadBlockList ( BlockListingFilter blockListingFilter, BlobRequestOptions options, AsyncCallback callback, object state ) : IAsyncResult

Begins an asynchronous operation to return an enumerable collection of the blob's blocks, using the specified block list filter.

BeginPutBlock ( string blockId, Stream blockData, string contentMD5, AsyncCallback callback, object state ) : IAsyncResult

Begins an asynchronous operation to upload a single block.

BeginPutBlock ( string blockId, Stream blockData, string contentMD5, BlobRequestOptions options, AsyncCallback callback, object state ) : IAsyncResult

Begins an asynchronous operation to upload a single block.

BeginPutBlockList ( IEnumerable blockList, AsyncCallback callback, object state ) : IAsyncResult

Begins an asynchronous operation to upload a list of blocks to a new or existing blob.

BeginPutBlockList ( IEnumerable blockList, BlobRequestOptions options, AsyncCallback callback, object state ) : IAsyncResult

Begins an asynchronous operation to upload a list of blocks to a new or existing blob.

CloudBlockBlob ( string blobAbsoluteUri ) : System

Initializes a new instance of the CloudBlockBlob class using an absolute URI to the blob.

CloudBlockBlob ( string blobUri, CloudBlobClient client ) : System

Initializes a new instance of the CloudBlockBlob class using a relative URI to the blob.

CloudBlockBlob ( string blobUri, System.DateTime snapshotTime, CloudBlobClient client ) : System

Initializes a new instance of the CloudBlockBlob class using a relative URI to the blob.

CloudBlockBlob ( string blobAbsoluteUri, StorageCredentials credentials ) : System

Initializes a new instance of the CloudBlockBlob class using an absolute URI to the blob.

CloudBlockBlob ( string blobAbsoluteUri, StorageCredentials credentials, bool usePathStyleUris ) : System

Initializes a new instance of the CloudBlockBlob class using an absolute URI to the blob.

CloudBlockBlob ( string blobAbsoluteUri, bool usePathStyleUris ) : System

Initializes a new instance of the CloudBlockBlob class using an absolute URI to the blob.

DownloadBlockList ( ) : IEnumerable

Returns an enumerable collection of the committed blocks comprising the blob.

DownloadBlockList ( BlobRequestOptions options ) : IEnumerable

Returns an enumerable collection of the committed blocks comprising the blob.

DownloadBlockList ( BlockListingFilter blockListingFilter ) : IEnumerable

Returns an enumerable collection of the blob's blocks, using the specified block list filter.

DownloadBlockList ( BlockListingFilter blockListingFilter, BlobRequestOptions options ) : IEnumerable

Returns an enumerable collection of the blob's blocks, using the specified block list filter.

PutBlock ( string blockId, Stream blockData, string contentMD5 ) : void

Uploads a single block.

PutBlock ( string blockId, Stream blockData, string contentMD5, BlobRequestOptions options ) : void

Uploads a single block.

PutBlockList ( IEnumerable blockList ) : void

Uploads a list of blocks to a new or existing blob.

PutBlockList ( IEnumerable blockList, BlobRequestOptions options ) : void

Uploads a list of blocks to a new or existing blob.

비공개 메소드들

메소드 설명
CloudBlockBlob ( Microsoft.WindowsAzure.StorageClient.BlobAttributes attributes, CloudBlobClient serviceClient, string snapshotTime ) : System

Initializes a new instance of the CloudBlockBlob class.

CloudBlockBlob ( CloudBlob cloudBlob ) : System

Initializes a new instance of the CloudBlockBlob class based on an existing blob.

CloudBlockBlob ( string blobUri, CloudBlobClient client, CloudBlobContainer containerReference ) : System

Initializes a new instance of the CloudBlockBlob class using the specified blob Uri. Note that this is just a reference to a blob instance and no requests are issued to the service yet to update the blob properties, attribute or metaddata. FetchAttributes is the API that issues such request to the service.

CloudBlockBlob ( string blobUri, System.DateTime snapshotTime, CloudBlobClient client, CloudBlobContainer containerReference ) : System

Initializes a new instance of the CloudBlockBlob class using the specified blob Uri. If snapshotTime is not null, the blob instance represents a Snapshot. Note that this is just a reference to a blob instance and no requests are issued to the service yet to update the blob properties, attribute or metaddata. FetchAttributes is the API that issues such request to the service.

EndDownloadBlockList ( IAsyncResult asyncResult ) : IEnumerable
EndPutBlock ( IAsyncResult asyncResult ) : void
EndPutBlockList ( IAsyncResult asyncResult ) : void
GetDownloadBlockList ( BlockListingFilter typesOfBlocks, BlobRequestOptions options, Action setResult ) : System.Collections.Generic.IEnumerable

Gets the download block list.

ParseResponse ( GetBlockListResponse blockListResponse ) : IEnumerable

Parses the response.

UploadBlockList ( List blocks, BlobRequestOptions options ) : System.Collections.Generic.IEnumerable

Uploads the block list.

메소드 상세

BeginDownloadBlockList() 공개 메소드

Begins an asynchronous operation to return an enumerable collection of the blob's blocks, using the specified block list filter.
public BeginDownloadBlockList ( BlockListingFilter blockListingFilter, AsyncCallback callback, object state ) : IAsyncResult
blockListingFilter BlockListingFilter One of the enumeration values that indicates whether to return /// committed blocks, uncommitted blocks, or both.
callback AsyncCallback The callback delegate that will receive notification when the asynchronous operation completes.
state object A user-defined object that will be passed to the callback delegate.
리턴 IAsyncResult

BeginDownloadBlockList() 공개 메소드

Begins an asynchronous operation to return an enumerable collection of the blob's blocks, using the specified block list filter.
public BeginDownloadBlockList ( BlockListingFilter blockListingFilter, BlobRequestOptions options, AsyncCallback callback, object state ) : IAsyncResult
blockListingFilter BlockListingFilter One of the enumeration values that indicates whether to return /// committed blocks, uncommitted blocks, or both.
options BlobRequestOptions An object that specifies any additional options for the request.
callback AsyncCallback The callback delegate that will receive notification when the asynchronous operation completes.
state object A user-defined object that will be passed to the callback delegate.
리턴 IAsyncResult

BeginPutBlock() 공개 메소드

Begins an asynchronous operation to upload a single block.
public BeginPutBlock ( string blockId, Stream blockData, string contentMD5, AsyncCallback callback, object state ) : IAsyncResult
blockId string A base64-encoded block ID that identifies the block.
blockData Stream A stream that provides the data for the block.
contentMD5 string An optional hash value that will be used to set the property /// on the blob. May be null or an empty string.
callback AsyncCallback The callback delegate that will receive notification when the asynchronous operation completes.
state object A user-defined object that will be passed to the callback delegate.
리턴 IAsyncResult

BeginPutBlock() 공개 메소드

Begins an asynchronous operation to upload a single block.
public BeginPutBlock ( string blockId, Stream blockData, string contentMD5, BlobRequestOptions options, AsyncCallback callback, object state ) : IAsyncResult
blockId string A base64-encoded block ID that identifies the block.
blockData Stream A stream that provides the data for the block.
contentMD5 string An optional hash value that will be used to set the property /// on the blob. May be null or an empty string.
options BlobRequestOptions An object that specifies any additional options for the request.
callback AsyncCallback The callback delegate that will receive notification when the asynchronous operation completes.
state object A user-defined object that will be passed to the callback delegate.
리턴 IAsyncResult

BeginPutBlockList() 공개 메소드

Begins an asynchronous operation to upload a list of blocks to a new or existing blob.
public BeginPutBlockList ( IEnumerable blockList, AsyncCallback callback, object state ) : IAsyncResult
blockList IEnumerable An enumerable collection of block IDs, as base64-encoded strings.
callback AsyncCallback The callback delegate that will receive notification when the asynchronous operation completes.
state object A user-defined object that will be passed to the callback delegate.
리턴 IAsyncResult

BeginPutBlockList() 공개 메소드

Begins an asynchronous operation to upload a list of blocks to a new or existing blob.
public BeginPutBlockList ( IEnumerable blockList, BlobRequestOptions options, AsyncCallback callback, object state ) : IAsyncResult
blockList IEnumerable An enumerable collection of block IDs, as base64-encoded strings.
options BlobRequestOptions An object that specifies any additional options for the request.
callback AsyncCallback The callback delegate that will receive notification when the asynchronous operation completes.
state object A user-defined object that will be passed to the callback delegate.
리턴 IAsyncResult

CloudBlockBlob() 공개 메소드

Initializes a new instance of the CloudBlockBlob class using an absolute URI to the blob.
public CloudBlockBlob ( string blobAbsoluteUri ) : System
blobAbsoluteUri string The absolute URI to the blob.
리턴 System

CloudBlockBlob() 공개 메소드

Initializes a new instance of the CloudBlockBlob class using a relative URI to the blob.
public CloudBlockBlob ( string blobUri, CloudBlobClient client ) : System
blobUri string The relative URI to the blob, beginning with the container name.
client CloudBlobClient A client object that specifies the endpoint for the Blob service.
리턴 System

CloudBlockBlob() 공개 메소드

Initializes a new instance of the CloudBlockBlob class using a relative URI to the blob.
public CloudBlockBlob ( string blobUri, System.DateTime snapshotTime, CloudBlobClient client ) : System
blobUri string The relative URI to the blob, beginning with the container name.
snapshotTime System.DateTime The snapshot timestamp, if the blob is a snapshot.
client CloudBlobClient A client object that specifies the endpoint for the Blob service.
리턴 System

CloudBlockBlob() 공개 메소드

Initializes a new instance of the CloudBlockBlob class using an absolute URI to the blob.
public CloudBlockBlob ( string blobAbsoluteUri, StorageCredentials credentials ) : System
blobAbsoluteUri string The absolute URI to the blob.
credentials StorageCredentials The account credentials.
리턴 System

CloudBlockBlob() 공개 메소드

Initializes a new instance of the CloudBlockBlob class using an absolute URI to the blob.
public CloudBlockBlob ( string blobAbsoluteUri, StorageCredentials credentials, bool usePathStyleUris ) : System
blobAbsoluteUri string The absolute URI to the blob.
credentials StorageCredentials The account credentials.
usePathStyleUris bool True to use path-style URIs; otherwise, false.
리턴 System

CloudBlockBlob() 공개 메소드

Initializes a new instance of the CloudBlockBlob class using an absolute URI to the blob.
public CloudBlockBlob ( string blobAbsoluteUri, bool usePathStyleUris ) : System
blobAbsoluteUri string The absolute URI to the blob.
usePathStyleUris bool True to use path-style URIs; otherwise, false.
리턴 System

DownloadBlockList() 공개 메소드

Returns an enumerable collection of the committed blocks comprising the blob.
public DownloadBlockList ( ) : IEnumerable
리턴 IEnumerable

DownloadBlockList() 공개 메소드

Returns an enumerable collection of the committed blocks comprising the blob.
public DownloadBlockList ( BlobRequestOptions options ) : IEnumerable
options BlobRequestOptions An object that specifies any additional options for the request.
리턴 IEnumerable

DownloadBlockList() 공개 메소드

Returns an enumerable collection of the blob's blocks, using the specified block list filter.
public DownloadBlockList ( BlockListingFilter blockListingFilter ) : IEnumerable
blockListingFilter BlockListingFilter One of the enumeration values that indicates whether to return /// committed blocks, uncommitted blocks, or both.
리턴 IEnumerable

DownloadBlockList() 공개 메소드

Returns an enumerable collection of the blob's blocks, using the specified block list filter.
public DownloadBlockList ( BlockListingFilter blockListingFilter, BlobRequestOptions options ) : IEnumerable
blockListingFilter BlockListingFilter One of the enumeration values that indicates whether to return /// committed blocks, uncommitted blocks, or both.
options BlobRequestOptions An object that specifies any additional options for the request.
리턴 IEnumerable

PutBlock() 공개 메소드

Uploads a single block.
public PutBlock ( string blockId, Stream blockData, string contentMD5 ) : void
blockId string A base64-encoded block ID that identifies the block.
blockData Stream A stream that provides the data for the block.
contentMD5 string An optional hash value that will be used to set the property /// on the blob. May be null or an empty string.
리턴 void

PutBlock() 공개 메소드

Uploads a single block.
public PutBlock ( string blockId, Stream blockData, string contentMD5, BlobRequestOptions options ) : void
blockId string A base64-encoded block ID that identifies the block.
blockData Stream A stream that provides the data for the block.
contentMD5 string An optional hash value that will be used to set the property /// on the blob. May be null or an empty string.
options BlobRequestOptions An object that specifies any additional options for the request.
리턴 void

PutBlockList() 공개 메소드

Uploads a list of blocks to a new or existing blob.
public PutBlockList ( IEnumerable blockList ) : void
blockList IEnumerable An enumerable collection of block IDs, as base64-encoded strings.
리턴 void

PutBlockList() 공개 메소드

Uploads a list of blocks to a new or existing blob.
public PutBlockList ( IEnumerable blockList, BlobRequestOptions options ) : void
blockList IEnumerable An enumerable collection of block IDs, as base64-encoded strings.
options BlobRequestOptions An object that specifies any additional options for the request.
리턴 void