CloudFile.ClearRangeAsync メソッド

定義

オーバーロード

ClearRangeAsync(Int64, Int64)

ファイルから範囲をクリアする非同期操作を実行するタスクを返します。

ClearRangeAsync(Int64, Int64, CancellationToken)

ファイルから範囲をクリアする非同期操作を実行するタスクを返します。

ClearRangeAsync(Int64, Int64, AccessCondition, FileRequestOptions, OperationContext)

ファイルから範囲をクリアする非同期操作を実行するタスクを返します。

ClearRangeAsync(Int64, Int64, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

ファイルから範囲をクリアする非同期操作を実行するタスクを返します。

ClearRangeAsync(Int64, Int64)

ファイルから範囲をクリアする非同期操作を実行するタスクを返します。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task ClearRangeAsync (long startOffset, long length);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member ClearRangeAsync : int64 * int64 -> System.Threading.Tasks.Task
override this.ClearRangeAsync : int64 * int64 -> System.Threading.Tasks.Task
Public Overridable Function ClearRangeAsync (startOffset As Long, length As Long) As Task

パラメーター

startOffset
Int64

範囲のクリアを開始するオフセット (バイト単位)。

length
Int64

消去するデータ範囲の長さ (バイト単位) です。

戻り値

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

属性

適用対象

ClearRangeAsync(Int64, Int64, CancellationToken)

ファイルから範囲をクリアする非同期操作を実行するタスクを返します。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task ClearRangeAsync (long startOffset, long length, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member ClearRangeAsync : int64 * int64 * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.ClearRangeAsync : int64 * int64 * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function ClearRangeAsync (startOffset As Long, length As Long, cancellationToken As CancellationToken) As Task

パラメーター

startOffset
Int64

範囲のクリアを開始するオフセット (バイト単位)。

length
Int64

消去するデータ範囲の長さ (バイト単位) です。

cancellationToken
CancellationToken

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

戻り値

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

属性

適用対象

ClearRangeAsync(Int64, Int64, AccessCondition, FileRequestOptions, OperationContext)

ファイルから範囲をクリアする非同期操作を実行するタスクを返します。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task ClearRangeAsync (long startOffset, long length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.File.FileRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member ClearRangeAsync : int64 * int64 * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task
override this.ClearRangeAsync : int64 * int64 * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task
Public Overridable Function ClearRangeAsync (startOffset As Long, length As Long, accessCondition As AccessCondition, options As FileRequestOptions, operationContext As OperationContext) As Task

パラメーター

startOffset
Int64

範囲のクリアを開始するオフセット (バイト単位)。

length
Int64

消去するデータ範囲の長さ (バイト単位) です。

accessCondition
AccessCondition

ファイルのアクセス条件を表す AccessCondition オブジェクトです。 null の場合、条件は使用されません。

options
FileRequestOptions

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

operationContext
OperationContext

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

戻り値

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

属性

適用対象

ClearRangeAsync(Int64, Int64, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

ファイルから範囲をクリアする非同期操作を実行するタスクを返します。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task ClearRangeAsync (long startOffset, long length, 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 ClearRangeAsync : int64 * int64 * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.ClearRangeAsync : int64 * int64 * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function ClearRangeAsync (startOffset As Long, length As Long, accessCondition As AccessCondition, options As FileRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task

パラメーター

startOffset
Int64

範囲のクリアを開始するオフセット (バイト単位)。

length
Int64

消去するデータ範囲の長さ (バイト単位) です。

accessCondition
AccessCondition

ファイルのアクセス条件を表す AccessCondition オブジェクトです。 null の場合、条件は使用されません。

options
FileRequestOptions

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

operationContext
OperationContext

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

cancellationToken
CancellationToken

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

戻り値

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

属性

適用対象