메소드 | 설명 | |
---|---|---|
AddDataToAppendBlockBlob ( string blobId, string data ) : string |
Adds data to the end of an Append blob. Should be used within a single writer as the code is not optimised for concurrent writers
|
|
BlobStorage ( string blobContainerName, string storageConnectionString, bool isPublic = true ) : System |
Creates a new BlobStorage object
|
|
CreateBlockBlob ( string blobId, string filePath ) : string |
Creates a new block blob and populates it from a file
|
|
CreateBlockBlob ( string blobId, string contentType, Stream data ) : string |
Creates a new block blob and populates it from a stream
|
|
CreateBlockBlob ( string blobId, string contentType, byte data ) : string |
Creates a new block blob and populates it from a byte array
|
|
CreateBlockBlob ( string blobId, string contentType, string data ) : string |
Creates a new block blob and populates it from a string
|
|
DeleteBlob ( string blobId ) : void |
Deletes the block blob with the given unique blob name
|
|
DeleteBlobContainer ( ) : void |
Deletes the blob container
|
|
GetAppendBlockBlobReference ( string blobId ) : Microsoft.WindowsAzure.Storage.Blob.CloudAppendBlob |
Gets a reference to an Append blob by blob id/name
|
|
GetBlockBlobDataAsStream ( string blobId ) : Stream |
Returns as stream with the contents of a block blob with the given blob name
|
|
GetBlockBlobDataAsString ( string blobId ) : string |
Returns as string with the contents of a block blob with the given blob name
|
|
GetBlockBlobReference ( string blobId ) : Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob |
Gets a reference to a block blob with the given unique blob name
|
|
ListBlobsInContainer ( ) : IEnumerable |
Returns a list of all the blobs in a container
|
public AddDataToAppendBlockBlob ( string blobId, string data ) : string | ||
blobId | string | |
data | string | |
리턴 | string |
public BlobStorage ( string blobContainerName, string storageConnectionString, bool isPublic = true ) : System | ||
blobContainerName | string | The name of the blob to be managed |
storageConnectionString | string | The connection string pointing to the storage account (this can be local or hosted in Windows Azure |
isPublic | bool | |
리턴 | System |
public CreateBlockBlob ( string blobId, string filePath ) : string | ||
blobId | string | The blobId for the block blob |
filePath | string | |
리턴 | string |
public CreateBlockBlob ( string blobId, string contentType, Stream data ) : string | ||
blobId | string | The blobId for the block blob |
contentType | string | The content type for the block blob |
data | Stream | The data to store in the block blob |
리턴 | string |
public CreateBlockBlob ( string blobId, string contentType, byte data ) : string | ||
blobId | string | The blobId for the block blob |
contentType | string | The content type for the block blob |
data | byte | The data to store in the block blob |
리턴 | string |
public CreateBlockBlob ( string blobId, string contentType, string data ) : string | ||
blobId | string | The blobId for the block blob |
contentType | string | The content type for the block blob |
data | string | The data to store in the block blob |
리턴 | string |
public DeleteBlob ( string blobId ) : void | ||
blobId | string | The unique block blob identifier |
리턴 | void |
public GetAppendBlockBlobReference ( string blobId ) : Microsoft.WindowsAzure.Storage.Blob.CloudAppendBlob | ||
blobId | string | |
리턴 | Microsoft.WindowsAzure.Storage.Blob.CloudAppendBlob |
public GetBlockBlobDataAsStream ( string blobId ) : Stream | ||
blobId | string | |
리턴 | Stream |
public GetBlockBlobDataAsString ( string blobId ) : string | ||
blobId | string | |
리턴 | string |
public GetBlockBlobReference ( string blobId ) : Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob | ||
blobId | string | The unique block blob identifier |
리턴 | Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob |