Azure CloudBlockBlob UploadFromStream Method

Download Azure Cloud Connect Setup File
Download Azure Cloud Connect Zip File

Uploads a stream to a block blob. If the blob already exists, it will be overwritten.

[Microsoft.Azure.Storage.DoesServiceRequest]  
public virtual void UploadFromStream (System.IO.Stream source, 
long length, Microsoft.Azure.Storage.AccessCondition accessCondition = default, 
Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default, 
Microsoft.Azure.Storage.OperationContext operationContext = default);

Parameters

source
Stream

Stream object providing the blob content.

length
Int64

The number of bytes to write from the source stream at its current position.

accessCondition
AccessCondition

An AccessCondition object that represents the condition that must be met in order for the request to proceed. If null, no condition is used.

options
BlobRequestOptions

BlobRequestOptions object that specifies additional options for the request. If null, default options are applied to the request.

operationContext
OperationContext

An OperationContext object that represents the context for the current operation.

Implements

Attributes