Méthode | Description | |
---|---|---|
AddDataToAppendBlockBlob ( string blobId, string data ) : Task |
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
|
|
BlobStorageAsync ( string blobContainerName, string storageConnectionString ) : System |
Creates a new BlobStorage object
|
|
CreateBlockBlobAsync ( string blobId, string filePath ) : Task |
Creates a new block blob and populates it from a file
|
|
CreateBlockBlobAsync ( string blobId, string contentType, Stream data ) : Task |
Creates a new block blob and populates it from a stream
|
|
CreateBlockBlobAsync ( string blobId, string contentType, byte data ) : Task |
Creates a new block blob and populates it from a byte array
|
|
CreateBlockBlobAsync ( string blobId, string contentType, string data ) : Task |
Creates a new block blob and populates it from a string
|
|
DeleteBlobAsync ( string blobId ) : System.Threading.Tasks.Task |
Deletes the block blob with the given unique blob name
|
|
DeleteBlobContainerAsync ( ) : System.Threading.Tasks.Task |
Deletes the blob container
|
|
GetAppendBlockBlobReference ( string blobId ) : Microsoft.WindowsAzure.Storage.Blob.CloudAppendBlob | ||
GetBlockBlobDataAsStreamAsync ( string blobId ) : Task |
Returns as stream with the contents of a block blob with the given blob name
|
|
GetBlockBlobDataAsStringAsync ( string blobId ) : Task |
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 ( string containerName ) : IEnumerable |
Returns a list of all the blobs in a container
|
public AddDataToAppendBlockBlob ( string blobId, string data ) : Task |
||
blobId | string | |
data | string | |
Résultat | Task |
public BlobStorageAsync ( string blobContainerName, string storageConnectionString ) : 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 |
Résultat | System |
public CreateBlockBlobAsync ( string blobId, string filePath ) : Task |
||
blobId | string | The blobId for the block blob |
filePath | string | |
Résultat | Task |
public CreateBlockBlobAsync ( string blobId, string contentType, Stream data ) : Task |
||
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 |
Résultat | Task |
public CreateBlockBlobAsync ( string blobId, string contentType, byte data ) : Task |
||
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 |
Résultat | Task |
public CreateBlockBlobAsync ( string blobId, string contentType, string data ) : Task |
||
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 |
Résultat | Task |
public DeleteBlobAsync ( string blobId ) : System.Threading.Tasks.Task | ||
blobId | string | The unique block blob identifier |
Résultat | System.Threading.Tasks.Task |
public DeleteBlobContainerAsync ( ) : System.Threading.Tasks.Task | ||
Résultat | System.Threading.Tasks.Task |
public GetAppendBlockBlobReference ( string blobId ) : Microsoft.WindowsAzure.Storage.Blob.CloudAppendBlob | ||
blobId | string | |
Résultat | Microsoft.WindowsAzure.Storage.Blob.CloudAppendBlob |
public GetBlockBlobDataAsStreamAsync ( string blobId ) : Task |
||
blobId | string | |
Résultat | Task |
public GetBlockBlobDataAsStringAsync ( string blobId ) : Task |
||
blobId | string | |
Résultat | Task |
public GetBlockBlobReference ( string blobId ) : Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob | ||
blobId | string | The unique block blob identifier |
Résultat | Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob |
public ListBlobsInContainer ( string containerName ) : IEnumerable |
||
containerName | string | |
Résultat | IEnumerable |