BlobTransferClient.UploadBlob Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
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
Parâmetros
- url
- Uri
- localFile
- String
- contentType
- String
- fileEncryption
- FileEncryption
- cancellationToken
- CancellationToken
- retryPolicy
- IRetryPolicy
Retornos
Aplica-se a
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
Parâmetros
- url
- Uri
- name
- String
- stream
- Stream
- contentType
- String
- fileEncryption
- FileEncryption
- cancellationToken
- CancellationToken
- retryPolicy
- IRetryPolicy
Retornos
Aplica-se a
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
Parâmetros
- url
- Uri
- localFile
- String
- fileEncryption
- FileEncryption
- cancellationToken
- CancellationToken
- client
- CloudBlobClient
- retryPolicy
- IRetryPolicy
- contentType
- String
- subDirectory
- String
Retornos
Aplica-se a
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
Parâmetros
- url
- Uri
- name
- String
- stream
- Stream
- fileEncryption
- FileEncryption
- cancellationToken
- CancellationToken
- client
- CloudBlobClient
- retryPolicy
- IRetryPolicy
- contentType
- String
- subDirectory
- String
Retornos
Aplica-se a
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET