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 = default);
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
Public Overridable Function UploadBlob (url As Uri, localFile As String, contentType As String, fileEncryption As FileEncryption, cancellationToken As CancellationToken, retryPolicy As IRetryPolicy, Optional getSharedAccessSignature As Func(Of String) = Nothing) As 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 = default);
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
Public Overridable Function UploadBlob (url As Uri, name As String, stream As Stream, contentType As String, fileEncryption As FileEncryption, cancellationToken As CancellationToken, retryPolicy As IRetryPolicy, Optional getSharedAccessSignature As Func(Of String) = Nothing) As 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 = default, string subDirectory = "", Func<string> getSharedAccessSignature = default);
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
Public Overridable Function UploadBlob (url As Uri, localFile As String, fileEncryption As FileEncryption, cancellationToken As CancellationToken, client As CloudBlobClient, retryPolicy As IRetryPolicy, Optional contentType As String = Nothing, Optional subDirectory As String = "", Optional getSharedAccessSignature As Func(Of String) = Nothing) As 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 = default, string subDirectory = "", Func<string> getSharedAccessSignature = default);
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
Public Overridable Function UploadBlob (url As Uri, name As String, stream As Stream, fileEncryption As FileEncryption, cancellationToken As CancellationToken, client As CloudBlobClient, retryPolicy As IRetryPolicy, Optional contentType As String = Nothing, Optional subDirectory As String = "", Optional getSharedAccessSignature As Func(Of String) = Nothing) As 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