Méthode | Description | |
---|---|---|
AzureBlobStorage ( CloudStorageAccount account, string containerAddress ) : System |
Initializes a new instance of the AzureBlobStorage class.
|
|
CreateContainerIfNotExistAsync ( ) : Task |
Creates the blob container if it does not exist, and sets its public access permission to allow downloading of blobs by their URIs.
|
|
PurgeBlobsExpiringBeforeAsync ( System.DateTime deleteBlobsExpiringBefore = default(DateTime) ) : Task |
Purges all blobs set to expire prior to the specified date.
|
|
UploadMessageAsync ( Stream content, System.DateTime expirationUtc, string contentType, string contentEncoding, IProgress |
public AzureBlobStorage ( CloudStorageAccount account, string containerAddress ) : System | ||
account | CloudStorageAccount | The Azure account to use. |
containerAddress | string | The name of the Azure blob container to use for uploaded blobs. |
Résultat | System |
public CreateContainerIfNotExistAsync ( ) : Task | ||
Résultat | Task |
public PurgeBlobsExpiringBeforeAsync ( System.DateTime deleteBlobsExpiringBefore = default(DateTime) ) : Task | ||
deleteBlobsExpiringBefore | System.DateTime |
/// All blobs scheduled to expire prior to this date will be purged. The default value
/// is interpreted as |
Résultat | Task |
public UploadMessageAsync ( Stream content, System.DateTime expirationUtc, string contentType, string contentEncoding, IProgress |
||
content | Stream | |
expirationUtc | System.DateTime | |
contentType | string | |
contentEncoding | string | |
bytesCopiedProgress | IProgress |
|
cancellationToken | ||
Résultat | Task |