ICloudBlob.UploadFromFile Method (String, FileMode, AccessCondition, BlobRequestOptions, OperationContext)

 

Uploads a file to the Windows Azure Blob Service.

Namespace:   Microsoft.WindowsAzure.Storage.Blob
Assembly:  Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Syntax

void UploadFromFile(
    string path,
    FileMode mode,
    AccessCondition accessCondition = null,
    BlobRequestOptions options = null,
    OperationContext operationContext = null
)
Sub UploadFromFile (
    path As String,
    mode As FileMode,
    accessCondition As AccessCondition,
    options As BlobRequestOptions,
    operationContext As OperationContext
)

Parameters

  • path
    Type: System.String

    A string containing the file path providing the blob content.

See Also

ICloudBlob Interface
Microsoft.WindowsAzure.Storage.Blob Namespace

Return to top