TransferManager.UploadAsync メソッド

定義

オーバーロード

UploadAsync(Stream, CloudBlob, UploadOptions, SingleTransferContext, CancellationToken)

ファイルをAzure Blob Storageにアップロードします。

UploadAsync(Stream, CloudBlob)

ファイルをAzure Blob Storageにアップロードします。

UploadAsync(Stream, CloudFile)

Azure File Storage にファイルをアップロードします。

UploadAsync(String, CloudBlob)

ファイルをAzure Blob Storageにアップロードします。

UploadAsync(String, CloudFile)

Azure File Storage にファイルをアップロードします。

UploadAsync(Stream, CloudBlob, UploadOptions, SingleTransferContext)

ファイルをAzure Blob Storageにアップロードします。

UploadAsync(Stream, CloudFile, UploadOptions, SingleTransferContext)

Azure File Storage にファイルをアップロードします。

UploadAsync(String, CloudBlob, UploadOptions, SingleTransferContext)

ファイルをAzure Blob Storageにアップロードします。

UploadAsync(String, CloudFile, UploadOptions, SingleTransferContext)

Azure File Storage にファイルをアップロードします。

UploadAsync(Stream, CloudFile, UploadOptions, SingleTransferContext, CancellationToken)

Azure File Storage にファイルをアップロードします。

UploadAsync(String, CloudBlob, UploadOptions, SingleTransferContext, CancellationToken)

ファイルをAzure Blob Storageにアップロードします。

UploadAsync(String, CloudFile, UploadOptions, SingleTransferContext, CancellationToken)

Azure File Storage にファイルをアップロードします。

UploadAsync(Stream, CloudBlob, UploadOptions, SingleTransferContext, CancellationToken)

ファイルをAzure Blob Storageにアップロードします。

public static System.Threading.Tasks.Task UploadAsync (System.IO.Stream sourceStream, Microsoft.Azure.Storage.Blob.CloudBlob destBlob, Microsoft.Azure.Storage.DataMovement.UploadOptions options, Microsoft.Azure.Storage.DataMovement.SingleTransferContext context, System.Threading.CancellationToken cancellationToken);
static member UploadAsync : System.IO.Stream * Microsoft.Azure.Storage.Blob.CloudBlob * Microsoft.Azure.Storage.DataMovement.UploadOptions * Microsoft.Azure.Storage.DataMovement.SingleTransferContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Shared Function UploadAsync (sourceStream As Stream, destBlob As CloudBlob, options As UploadOptions, context As SingleTransferContext, cancellationToken As CancellationToken) As Task

パラメーター

sourceStream
Stream

Streamファイルの内容を提供する オブジェクト。

destBlob
CloudBlob

CloudBlob宛先の Azure BLOB である 。

options
UploadOptions

UploadOptions操作の追加オプションを指定する オブジェクト。

context
SingleTransferContext

現在の SingleTransferContext 操作のコンテキストを表す オブジェクト。

cancellationToken
CancellationToken

タスクの CancellationToken 完了を待機している間に観察するオブジェクト。

戻り値

非同期操作を表す Task オブジェクト。

適用対象

UploadAsync(Stream, CloudBlob)

ファイルをAzure Blob Storageにアップロードします。

public static System.Threading.Tasks.Task UploadAsync (System.IO.Stream sourceStream, Microsoft.Azure.Storage.Blob.CloudBlob destBlob);
static member UploadAsync : System.IO.Stream * Microsoft.Azure.Storage.Blob.CloudBlob -> System.Threading.Tasks.Task
Public Shared Function UploadAsync (sourceStream As Stream, destBlob As CloudBlob) As Task

パラメーター

sourceStream
Stream

Streamファイルの内容を提供する オブジェクト。

destBlob
CloudBlob

CloudBlob宛先の Azure BLOB である 。

戻り値

非同期操作を表す Task オブジェクト。

適用対象

UploadAsync(Stream, CloudFile)

Azure File Storage にファイルをアップロードします。

public static System.Threading.Tasks.Task UploadAsync (System.IO.Stream sourceStream, Microsoft.Azure.Storage.File.CloudFile destFile);
static member UploadAsync : System.IO.Stream * Microsoft.Azure.Storage.File.CloudFile -> System.Threading.Tasks.Task
Public Shared Function UploadAsync (sourceStream As Stream, destFile As CloudFile) As Task

パラメーター

sourceStream
Stream

Streamファイルの内容を提供する オブジェクト。

destFile
CloudFile

CloudFile宛先の Azure ファイルである 。

戻り値

非同期操作を表す Task オブジェクト。

適用対象

UploadAsync(String, CloudBlob)

ファイルをAzure Blob Storageにアップロードします。

public static System.Threading.Tasks.Task UploadAsync (string sourcePath, Microsoft.Azure.Storage.Blob.CloudBlob destBlob);
static member UploadAsync : string * Microsoft.Azure.Storage.Blob.CloudBlob -> System.Threading.Tasks.Task
Public Shared Function UploadAsync (sourcePath As String, destBlob As CloudBlob) As Task

パラメーター

sourcePath
String

ソース ファイルへのパス。

destBlob
CloudBlob

CloudBlob宛先の Azure BLOB である 。

戻り値

非同期操作を表す Task オブジェクト。

適用対象

UploadAsync(String, CloudFile)

Azure File Storage にファイルをアップロードします。

public static System.Threading.Tasks.Task UploadAsync (string sourcePath, Microsoft.Azure.Storage.File.CloudFile destFile);
static member UploadAsync : string * Microsoft.Azure.Storage.File.CloudFile -> System.Threading.Tasks.Task
Public Shared Function UploadAsync (sourcePath As String, destFile As CloudFile) As Task

パラメーター

sourcePath
String

ソース ファイルへのパス。

destFile
CloudFile

CloudFile宛先の Azure ファイルである 。

戻り値

非同期操作を表す Task オブジェクト。

適用対象

UploadAsync(Stream, CloudBlob, UploadOptions, SingleTransferContext)

ファイルをAzure Blob Storageにアップロードします。

public static System.Threading.Tasks.Task UploadAsync (System.IO.Stream sourceStream, Microsoft.Azure.Storage.Blob.CloudBlob destBlob, Microsoft.Azure.Storage.DataMovement.UploadOptions options, Microsoft.Azure.Storage.DataMovement.SingleTransferContext context);
static member UploadAsync : System.IO.Stream * Microsoft.Azure.Storage.Blob.CloudBlob * Microsoft.Azure.Storage.DataMovement.UploadOptions * Microsoft.Azure.Storage.DataMovement.SingleTransferContext -> System.Threading.Tasks.Task
Public Shared Function UploadAsync (sourceStream As Stream, destBlob As CloudBlob, options As UploadOptions, context As SingleTransferContext) As Task

パラメーター

sourceStream
Stream

Streamファイルの内容を提供する オブジェクト。

destBlob
CloudBlob

CloudBlob宛先の Azure BLOB である 。

options
UploadOptions

UploadOptions操作の追加オプションを指定する オブジェクト。

context
SingleTransferContext

現在の SingleTransferContext 操作のコンテキストを表す オブジェクト。

戻り値

非同期操作を表す Task オブジェクト。

適用対象

UploadAsync(Stream, CloudFile, UploadOptions, SingleTransferContext)

Azure File Storage にファイルをアップロードします。

public static System.Threading.Tasks.Task UploadAsync (System.IO.Stream sourceStream, Microsoft.Azure.Storage.File.CloudFile destFile, Microsoft.Azure.Storage.DataMovement.UploadOptions options, Microsoft.Azure.Storage.DataMovement.SingleTransferContext context);
static member UploadAsync : System.IO.Stream * Microsoft.Azure.Storage.File.CloudFile * Microsoft.Azure.Storage.DataMovement.UploadOptions * Microsoft.Azure.Storage.DataMovement.SingleTransferContext -> System.Threading.Tasks.Task
Public Shared Function UploadAsync (sourceStream As Stream, destFile As CloudFile, options As UploadOptions, context As SingleTransferContext) As Task

パラメーター

sourceStream
Stream

Streamファイルの内容を提供する オブジェクト。

destFile
CloudFile

CloudFile宛先の Azure ファイルである 。

options
UploadOptions

UploadOptions操作の追加オプションを指定する オブジェクト。

context
SingleTransferContext

現在の SingleTransferContext 操作のコンテキストを表す オブジェクト。

戻り値

非同期操作を表す Task オブジェクト。

適用対象

UploadAsync(String, CloudBlob, UploadOptions, SingleTransferContext)

ファイルをAzure Blob Storageにアップロードします。

public static System.Threading.Tasks.Task UploadAsync (string sourcePath, Microsoft.Azure.Storage.Blob.CloudBlob destBlob, Microsoft.Azure.Storage.DataMovement.UploadOptions options, Microsoft.Azure.Storage.DataMovement.SingleTransferContext context);
static member UploadAsync : string * Microsoft.Azure.Storage.Blob.CloudBlob * Microsoft.Azure.Storage.DataMovement.UploadOptions * Microsoft.Azure.Storage.DataMovement.SingleTransferContext -> System.Threading.Tasks.Task
Public Shared Function UploadAsync (sourcePath As String, destBlob As CloudBlob, options As UploadOptions, context As SingleTransferContext) As Task

パラメーター

sourcePath
String

ソース ファイルへのパス。

destBlob
CloudBlob

CloudBlob宛先の Azure BLOB である 。

options
UploadOptions

UploadOptions操作の追加オプションを指定する オブジェクト。

context
SingleTransferContext

現在の SingleTransferContext 操作のコンテキストを表す オブジェクト。

戻り値

非同期操作を表す Task オブジェクト。

適用対象

UploadAsync(String, CloudFile, UploadOptions, SingleTransferContext)

Azure File Storage にファイルをアップロードします。

public static System.Threading.Tasks.Task UploadAsync (string sourcePath, Microsoft.Azure.Storage.File.CloudFile destFile, Microsoft.Azure.Storage.DataMovement.UploadOptions options, Microsoft.Azure.Storage.DataMovement.SingleTransferContext context);
static member UploadAsync : string * Microsoft.Azure.Storage.File.CloudFile * Microsoft.Azure.Storage.DataMovement.UploadOptions * Microsoft.Azure.Storage.DataMovement.SingleTransferContext -> System.Threading.Tasks.Task
Public Shared Function UploadAsync (sourcePath As String, destFile As CloudFile, options As UploadOptions, context As SingleTransferContext) As Task

パラメーター

sourcePath
String

ソース ファイルへのパス。

destFile
CloudFile

CloudFile宛先の Azure ファイルである 。

options
UploadOptions

UploadOptions操作の追加オプションを指定する オブジェクト。

context
SingleTransferContext

現在の SingleTransferContext 操作のコンテキストを表す オブジェクト。

戻り値

非同期操作を表す Task オブジェクト。

適用対象

UploadAsync(Stream, CloudFile, UploadOptions, SingleTransferContext, CancellationToken)

Azure File Storage にファイルをアップロードします。

public static System.Threading.Tasks.Task UploadAsync (System.IO.Stream sourceStream, Microsoft.Azure.Storage.File.CloudFile destFile, Microsoft.Azure.Storage.DataMovement.UploadOptions options, Microsoft.Azure.Storage.DataMovement.SingleTransferContext context, System.Threading.CancellationToken cancellationToken);
static member UploadAsync : System.IO.Stream * Microsoft.Azure.Storage.File.CloudFile * Microsoft.Azure.Storage.DataMovement.UploadOptions * Microsoft.Azure.Storage.DataMovement.SingleTransferContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Shared Function UploadAsync (sourceStream As Stream, destFile As CloudFile, options As UploadOptions, context As SingleTransferContext, cancellationToken As CancellationToken) As Task

パラメーター

sourceStream
Stream

Streamファイルの内容を提供する オブジェクト。

destFile
CloudFile

CloudFile宛先の Azure ファイルである 。

options
UploadOptions

UploadOptions操作の追加オプションを指定する オブジェクト。

context
SingleTransferContext

現在の SingleTransferContext 操作のコンテキストを表す オブジェクト。

cancellationToken
CancellationToken

タスクの CancellationToken 完了を待機している間に観察するオブジェクト。

戻り値

非同期操作を表す Task オブジェクト。

適用対象

UploadAsync(String, CloudBlob, UploadOptions, SingleTransferContext, CancellationToken)

ファイルをAzure Blob Storageにアップロードします。

public static System.Threading.Tasks.Task UploadAsync (string sourcePath, Microsoft.Azure.Storage.Blob.CloudBlob destBlob, Microsoft.Azure.Storage.DataMovement.UploadOptions options, Microsoft.Azure.Storage.DataMovement.SingleTransferContext context, System.Threading.CancellationToken cancellationToken);
static member UploadAsync : string * Microsoft.Azure.Storage.Blob.CloudBlob * Microsoft.Azure.Storage.DataMovement.UploadOptions * Microsoft.Azure.Storage.DataMovement.SingleTransferContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Shared Function UploadAsync (sourcePath As String, destBlob As CloudBlob, options As UploadOptions, context As SingleTransferContext, cancellationToken As CancellationToken) As Task

パラメーター

sourcePath
String

ソース ファイルへのパス。

destBlob
CloudBlob

CloudBlob宛先の Azure BLOB である 。

options
UploadOptions

UploadOptions操作の追加オプションを指定する オブジェクト。

context
SingleTransferContext

現在の SingleTransferContext 操作のコンテキストを表す オブジェクト。

cancellationToken
CancellationToken

タスクの CancellationToken 完了を待機している間に観察するオブジェクト。

戻り値

非同期操作を表す Task オブジェクト。

適用対象

UploadAsync(String, CloudFile, UploadOptions, SingleTransferContext, CancellationToken)

Azure File Storage にファイルをアップロードします。

public static System.Threading.Tasks.Task UploadAsync (string sourcePath, Microsoft.Azure.Storage.File.CloudFile destFile, Microsoft.Azure.Storage.DataMovement.UploadOptions options, Microsoft.Azure.Storage.DataMovement.SingleTransferContext context, System.Threading.CancellationToken cancellationToken);
static member UploadAsync : string * Microsoft.Azure.Storage.File.CloudFile * Microsoft.Azure.Storage.DataMovement.UploadOptions * Microsoft.Azure.Storage.DataMovement.SingleTransferContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Shared Function UploadAsync (sourcePath As String, destFile As CloudFile, options As UploadOptions, context As SingleTransferContext, cancellationToken As CancellationToken) As Task

パラメーター

sourcePath
String

ソース ファイルへのパス。

destFile
CloudFile

CloudFile宛先の Azure ファイルである 。

options
UploadOptions

UploadOptions操作の追加オプションを指定する オブジェクト。

context
SingleTransferContext

現在の SingleTransferContext 操作のコンテキストを表す オブジェクト。

cancellationToken
CancellationToken

タスクの CancellationToken 完了を待機している間に観察するオブジェクト。

戻り値

非同期操作を表す Task オブジェクト。

適用対象