BlobContainerAddAsync(String, Byte, String, CancellationToken) Method

Adds information to the Blob container with a designated content type.

Definition

Namespace: InnerDrive.Azure
Assembly: InnerDrive.Azure (in InnerDrive.Azure.dll) Version: 5.2.9417.0
C#
public Task<Uri> AddAsync(
	string blobName,
	byte[] value,
	string contentType = "application/octet-stream",
	CancellationToken cancellationToken = default
)

Parameters

blobName  String
The name of the blob to use
value  Byte
The new contents of the blob identified by blobName
contentType  String  (Optional)
The MIME type you are inserting into the blob
cancellationToken  CancellationToken  (Optional)
A CancellationToken that can be used to cancel the operation.

Return Value

TaskUri

See Also