CloudFile.UploadTextAsync メソッド

定義

オーバーロード

UploadTextAsync(String)

テキストの文字列をファイルにアップロードする非同期操作を実行するタスクを返します。 ファイルが既にサービスに存在する場合は、上書きされます。

UploadTextAsync(String, CancellationToken)

テキストの文字列をファイルにアップロードする非同期操作を実行するタスクを返します。 ファイルが既にサービスに存在する場合は、上書きされます。

UploadTextAsync(String, Encoding, AccessCondition, FileRequestOptions, OperationContext)

テキストの文字列をファイルにアップロードする非同期操作を実行するタスクを返します。 ファイルが既にサービスに存在する場合は、上書きされます。

UploadTextAsync(String, Encoding, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

テキストの文字列をファイルにアップロードする非同期操作を実行するタスクを返します。 ファイルが既にサービスに存在する場合は、上書きされます。

UploadTextAsync(String, Encoding, AccessCondition, FileRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken)

テキストの文字列をファイルにアップロードする非同期操作を実行するタスクを返します。 ファイルが既にサービスに存在する場合は、上書きされます。

UploadTextAsync(String)

テキストの文字列をファイルにアップロードする非同期操作を実行するタスクを返します。 ファイルが既にサービスに存在する場合は、上書きされます。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task UploadTextAsync (string content);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member UploadTextAsync : string -> System.Threading.Tasks.Task
override this.UploadTextAsync : string -> System.Threading.Tasks.Task
Public Overridable Function UploadTextAsync (content As String) As Task

パラメーター

content
String

アップロードするテキスト。

戻り値

現在の操作を表す Task オブジェクトです。

属性

適用対象

UploadTextAsync(String, CancellationToken)

テキストの文字列をファイルにアップロードする非同期操作を実行するタスクを返します。 ファイルが既にサービスに存在する場合は、上書きされます。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task UploadTextAsync (string content, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member UploadTextAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.UploadTextAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function UploadTextAsync (content As String, cancellationToken As CancellationToken) As Task

パラメーター

content
String

アップロードするテキスト。

cancellationToken
CancellationToken

タスクの完了を待機しているときに監視する CancellationToken

戻り値

現在の操作を表す Task オブジェクトです。

属性

適用対象

UploadTextAsync(String, Encoding, AccessCondition, FileRequestOptions, OperationContext)

テキストの文字列をファイルにアップロードする非同期操作を実行するタスクを返します。 ファイルが既にサービスに存在する場合は、上書きされます。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task UploadTextAsync (string content, System.Text.Encoding encoding, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.File.FileRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member UploadTextAsync : string * System.Text.Encoding * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task
override this.UploadTextAsync : string * System.Text.Encoding * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task
Public Overridable Function UploadTextAsync (content As String, encoding As Encoding, accessCondition As AccessCondition, options As FileRequestOptions, operationContext As OperationContext) As Task

パラメーター

content
String

アップロードするテキスト。

encoding
Encoding

使用するテキスト エンコードを示す オブジェクト。 null の場合は、UTF-8 が使用されます。

accessCondition
AccessCondition

ファイルのアクセス条件を表す AccessCondition オブジェクトです。

options
FileRequestOptions

要求の追加オプションを指定する FileRequestOptions オブジェクトです。

operationContext
OperationContext

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

戻り値

現在の操作を表す Task オブジェクトです。

属性

適用対象

UploadTextAsync(String, Encoding, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

テキストの文字列をファイルにアップロードする非同期操作を実行するタスクを返します。 ファイルが既にサービスに存在する場合は、上書きされます。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task UploadTextAsync (string content, System.Text.Encoding encoding, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.File.FileRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member UploadTextAsync : string * System.Text.Encoding * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.UploadTextAsync : string * System.Text.Encoding * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function UploadTextAsync (content As String, encoding As Encoding, accessCondition As AccessCondition, options As FileRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task

パラメーター

content
String

アップロードするテキスト。

encoding
Encoding

使用するテキスト エンコードを示す オブジェクト。 null の場合は、UTF-8 が使用されます。

accessCondition
AccessCondition

ファイルのアクセス条件を表す AccessCondition オブジェクトです。

options
FileRequestOptions

要求の追加オプションを指定する FileRequestOptions オブジェクトです。

operationContext
OperationContext

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

cancellationToken
CancellationToken

タスクの完了を待機しているときに監視する CancellationToken

戻り値

現在の操作を表す Task オブジェクトです。

属性

適用対象

UploadTextAsync(String, Encoding, AccessCondition, FileRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken)

テキストの文字列をファイルにアップロードする非同期操作を実行するタスクを返します。 ファイルが既にサービスに存在する場合は、上書きされます。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task UploadTextAsync (string content, System.Text.Encoding encoding, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.File.FileRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, IProgress<Microsoft.Azure.Storage.Core.Util.StorageProgress> progressHandler, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member UploadTextAsync : string * System.Text.Encoding * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * IProgress<Microsoft.Azure.Storage.Core.Util.StorageProgress> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.UploadTextAsync : string * System.Text.Encoding * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * IProgress<Microsoft.Azure.Storage.Core.Util.StorageProgress> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function UploadTextAsync (content As String, encoding As Encoding, accessCondition As AccessCondition, options As FileRequestOptions, operationContext As OperationContext, progressHandler As IProgress(Of StorageProgress), cancellationToken As CancellationToken) As Task

パラメーター

content
String

アップロードするテキスト。

encoding
Encoding

使用するテキスト エンコードを示す オブジェクト。 null の場合は、UTF-8 が使用されます。

accessCondition
AccessCondition

ファイルのアクセス条件を表す AccessCondition オブジェクトです。

options
FileRequestOptions

要求の追加オプションを指定する FileRequestOptions オブジェクトです。

operationContext
OperationContext

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

progressHandler
IProgress<StorageProgress>

IProgress<T>メッセージを処理StorageProgressする オブジェクト。

cancellationToken
CancellationToken

タスクの完了を待機しているときに監視する CancellationToken

戻り値

現在の操作を表す Task オブジェクトです。

属性

適用対象