CloudFile.CloseAllHandlesSegmentedAsync メソッド

定義

このファイルのすべての SMB ハンドルを閉じる非同期操作を実行するタスクを返します。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.CloseFileHandleResultSegment> CloseAllHandlesSegmentedAsync (Microsoft.Azure.Storage.File.FileContinuationToken token = default, Microsoft.Azure.Storage.AccessCondition accessCondition = default, Microsoft.Azure.Storage.File.FileRequestOptions options = default, Microsoft.Azure.Storage.OperationContext operationContext = default, System.Threading.CancellationToken? cancellationToken = default);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member CloseAllHandlesSegmentedAsync : Microsoft.Azure.Storage.File.FileContinuationToken * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * Nullable<System.Threading.CancellationToken> -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.CloseFileHandleResultSegment>
override this.CloseAllHandlesSegmentedAsync : Microsoft.Azure.Storage.File.FileContinuationToken * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * Nullable<System.Threading.CancellationToken> -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.CloseFileHandleResultSegment>
Public Overridable Function CloseAllHandlesSegmentedAsync (Optional token As FileContinuationToken = Nothing, Optional accessCondition As AccessCondition = Nothing, Optional options As FileRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing, Optional cancellationToken As Nullable(Of CancellationToken) = Nothing) As Task(Of CloseFileHandleResultSegment)

パラメーター

token
FileContinuationToken

多くのハンドルを閉じるための継続トークン。

accessCondition
AccessCondition

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

options
FileRequestOptions

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

operationContext
OperationContext

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

cancellationToken
Nullable<CancellationToken>

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

戻り値

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

属性

適用対象