BlobTransferClient.UploadBlob Method

Definition

Overloads

UploadBlob(Uri, String, String, FileEncryption, CancellationToken, IRetryPolicy, Func<String>)
UploadBlob(Uri, String, Stream, String, FileEncryption, CancellationToken, IRetryPolicy, Func<String>)
UploadBlob(Uri, String, FileEncryption, CancellationToken, CloudBlobClient, IRetryPolicy, String, String, Func<String>)
UploadBlob(Uri, String, Stream, FileEncryption, CancellationToken, CloudBlobClient, IRetryPolicy, String, String, Func<String>)

UploadBlob(Uri, String, String, FileEncryption, CancellationToken, IRetryPolicy, Func<String>)

public virtual System.Threading.Tasks.Task UploadBlob (Uri url, string localFile, string contentType, Microsoft.WindowsAzure.MediaServices.Client.FileEncryption fileEncryption, System.Threading.CancellationToken cancellationToken, Microsoft.WindowsAzure.Storage.RetryPolicies.IRetryPolicy retryPolicy, Func<string> getSharedAccessSignature = null);
abstract member UploadBlob : Uri * string * string * Microsoft.WindowsAzure.MediaServices.Client.FileEncryption * System.Threading.CancellationToken * Microsoft.WindowsAzure.Storage.RetryPolicies.IRetryPolicy * Func<string> -> System.Threading.Tasks.Task
override this.UploadBlob : Uri * string * string * Microsoft.WindowsAzure.MediaServices.Client.FileEncryption * System.Threading.CancellationToken * Microsoft.WindowsAzure.Storage.RetryPolicies.IRetryPolicy * Func<string> -> System.Threading.Tasks.Task

Parameters

url
System.Uri
localFile
System.String
contentType
System.String
fileEncryption
FileEncryption
cancellationToken
System.Threading.CancellationToken
retryPolicy
Microsoft.WindowsAzure.Storage.RetryPolicies.IRetryPolicy
getSharedAccessSignature
System.Func<System.String>

Returns

System.Threading.Tasks.Task

Applies to

UploadBlob(Uri, String, Stream, String, FileEncryption, CancellationToken, IRetryPolicy, Func<String>)

public virtual System.Threading.Tasks.Task UploadBlob (Uri url, string name, System.IO.Stream stream, string contentType, Microsoft.WindowsAzure.MediaServices.Client.FileEncryption fileEncryption, System.Threading.CancellationToken cancellationToken, Microsoft.WindowsAzure.Storage.RetryPolicies.IRetryPolicy retryPolicy, Func<string> getSharedAccessSignature = null);
abstract member UploadBlob : Uri * string * System.IO.Stream * string * Microsoft.WindowsAzure.MediaServices.Client.FileEncryption * System.Threading.CancellationToken * Microsoft.WindowsAzure.Storage.RetryPolicies.IRetryPolicy * Func<string> -> System.Threading.Tasks.Task
override this.UploadBlob : Uri * string * System.IO.Stream * string * Microsoft.WindowsAzure.MediaServices.Client.FileEncryption * System.Threading.CancellationToken * Microsoft.WindowsAzure.Storage.RetryPolicies.IRetryPolicy * Func<string> -> System.Threading.Tasks.Task

Parameters

url
System.Uri
name
System.String
stream
System.IO.Stream
contentType
System.String
fileEncryption
FileEncryption
cancellationToken
System.Threading.CancellationToken
retryPolicy
Microsoft.WindowsAzure.Storage.RetryPolicies.IRetryPolicy
getSharedAccessSignature
System.Func<System.String>

Returns

System.Threading.Tasks.Task

Applies to

UploadBlob(Uri, String, FileEncryption, CancellationToken, CloudBlobClient, IRetryPolicy, String, String, Func<String>)

public virtual System.Threading.Tasks.Task UploadBlob (Uri url, string localFile, Microsoft.WindowsAzure.MediaServices.Client.FileEncryption fileEncryption, System.Threading.CancellationToken cancellationToken, Microsoft.WindowsAzure.Storage.Blob.CloudBlobClient client, Microsoft.WindowsAzure.Storage.RetryPolicies.IRetryPolicy retryPolicy, string contentType = null, string subDirectory = "", Func<string> getSharedAccessSignature = null);
abstract member UploadBlob : Uri * string * Microsoft.WindowsAzure.MediaServices.Client.FileEncryption * System.Threading.CancellationToken * Microsoft.WindowsAzure.Storage.Blob.CloudBlobClient * Microsoft.WindowsAzure.Storage.RetryPolicies.IRetryPolicy * string * string * Func<string> -> System.Threading.Tasks.Task
override this.UploadBlob : Uri * string * Microsoft.WindowsAzure.MediaServices.Client.FileEncryption * System.Threading.CancellationToken * Microsoft.WindowsAzure.Storage.Blob.CloudBlobClient * Microsoft.WindowsAzure.Storage.RetryPolicies.IRetryPolicy * string * string * Func<string> -> System.Threading.Tasks.Task

Parameters

url
System.Uri
localFile
System.String
fileEncryption
FileEncryption
cancellationToken
System.Threading.CancellationToken
client
Microsoft.WindowsAzure.Storage.Blob.CloudBlobClient
retryPolicy
Microsoft.WindowsAzure.Storage.RetryPolicies.IRetryPolicy
contentType
System.String
subDirectory
System.String
getSharedAccessSignature
System.Func<System.String>

Returns

System.Threading.Tasks.Task

Applies to

UploadBlob(Uri, String, Stream, FileEncryption, CancellationToken, CloudBlobClient, IRetryPolicy, String, String, Func<String>)

public virtual System.Threading.Tasks.Task UploadBlob (Uri url, string name, System.IO.Stream stream, Microsoft.WindowsAzure.MediaServices.Client.FileEncryption fileEncryption, System.Threading.CancellationToken cancellationToken, Microsoft.WindowsAzure.Storage.Blob.CloudBlobClient client, Microsoft.WindowsAzure.Storage.RetryPolicies.IRetryPolicy retryPolicy, string contentType = null, string subDirectory = "", Func<string> getSharedAccessSignature = null);
abstract member UploadBlob : Uri * string * System.IO.Stream * Microsoft.WindowsAzure.MediaServices.Client.FileEncryption * System.Threading.CancellationToken * Microsoft.WindowsAzure.Storage.Blob.CloudBlobClient * Microsoft.WindowsAzure.Storage.RetryPolicies.IRetryPolicy * string * string * Func<string> -> System.Threading.Tasks.Task
override this.UploadBlob : Uri * string * System.IO.Stream * Microsoft.WindowsAzure.MediaServices.Client.FileEncryption * System.Threading.CancellationToken * Microsoft.WindowsAzure.Storage.Blob.CloudBlobClient * Microsoft.WindowsAzure.Storage.RetryPolicies.IRetryPolicy * string * string * Func<string> -> System.Threading.Tasks.Task

Parameters

url
System.Uri
name
System.String
stream
System.IO.Stream
fileEncryption
FileEncryption
cancellationToken
System.Threading.CancellationToken
client
Microsoft.WindowsAzure.Storage.Blob.CloudBlobClient
retryPolicy
Microsoft.WindowsAzure.Storage.RetryPolicies.IRetryPolicy
contentType
System.String
subDirectory
System.String
getSharedAccessSignature
System.Func<System.String>

Returns

System.Threading.Tasks.Task

Applies to