Delen via


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
Uri
localFile
String
contentType
String
fileEncryption
FileEncryption
cancellationToken
CancellationToken
retryPolicy
IRetryPolicy
getSharedAccessSignature
Func<String>

Returns

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
Uri
name
String
stream
Stream
contentType
String
fileEncryption
FileEncryption
cancellationToken
CancellationToken
retryPolicy
IRetryPolicy
getSharedAccessSignature
Func<String>

Returns

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
Uri
localFile
String
fileEncryption
FileEncryption
cancellationToken
CancellationToken
retryPolicy
IRetryPolicy
contentType
String
subDirectory
String
getSharedAccessSignature
Func<String>

Returns

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
Uri
name
String
stream
Stream
fileEncryption
FileEncryption
cancellationToken
CancellationToken
retryPolicy
IRetryPolicy
contentType
String
subDirectory
String
getSharedAccessSignature
Func<String>

Returns

Applies to