次の方法で共有


CloudFileDirectory.CloseHandleSegmentedAsync メソッド

定義

オーバーロード

CloseHandleSegmentedAsync(String, FileContinuationToken, Nullable<Boolean>, AccessCondition, FileRequestOptions, OperationContext, Nullable<CancellationToken>)

このディレクトリの指定された SMB ハンドルを閉じる非同期操作を実行するタスクを返します。

CloseHandleSegmentedAsync(UInt64, FileContinuationToken, Nullable<Boolean>, AccessCondition, FileRequestOptions, OperationContext, Nullable<CancellationToken>)

このディレクトリの指定された SMB ハンドルを閉じる非同期操作を実行するタスクを返します。

CloseHandleSegmentedAsync(String, FileContinuationToken, Nullable<Boolean>, AccessCondition, FileRequestOptions, OperationContext, Nullable<CancellationToken>)

このディレクトリの指定された SMB ハンドルを閉じる非同期操作を実行するタスクを返します。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.CloseFileHandleResultSegment> CloseHandleSegmentedAsync (string handleId, Microsoft.Azure.Storage.File.FileContinuationToken token = default, bool? recursive = 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 CloseHandleSegmentedAsync : string * Microsoft.Azure.Storage.File.FileContinuationToken * Nullable<bool> * 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.CloseHandleSegmentedAsync : string * Microsoft.Azure.Storage.File.FileContinuationToken * Nullable<bool> * 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 CloseHandleSegmentedAsync (handleId As String, Optional token As FileContinuationToken = Nothing, Optional recursive As Nullable(Of Boolean) = 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)

パラメーター

handleId
String

ハンドルの ID。ファイル上のすべてのハンドルの場合は "*" です。

token
FileContinuationToken

ハンドルを閉じるときにの継続トークンには、非常に長い時間がかかります。

recursive
Nullable<Boolean>

このディレクトリのサブ ファイルとフォルダーを繰り返すかどうか。 値の不足は false と解釈されます。

accessCondition
AccessCondition

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

options
FileRequestOptions

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

operationContext
OperationContext

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

cancellationToken
Nullable<CancellationToken>

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

戻り値

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

属性

適用対象

CloseHandleSegmentedAsync(UInt64, FileContinuationToken, Nullable<Boolean>, AccessCondition, FileRequestOptions, OperationContext, Nullable<CancellationToken>)

このディレクトリの指定された SMB ハンドルを閉じる非同期操作を実行するタスクを返します。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.CloseFileHandleResultSegment> CloseHandleSegmentedAsync (ulong handleId, Microsoft.Azure.Storage.File.FileContinuationToken token = default, bool? recursive = 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 CloseHandleSegmentedAsync : uint64 * Microsoft.Azure.Storage.File.FileContinuationToken * Nullable<bool> * 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.CloseHandleSegmentedAsync : uint64 * Microsoft.Azure.Storage.File.FileContinuationToken * Nullable<bool> * 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 CloseHandleSegmentedAsync (handleId As ULong, Optional token As FileContinuationToken = Nothing, Optional recursive As Nullable(Of Boolean) = 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)

パラメーター

handleId
UInt64

ハンドルの ID。

token
FileContinuationToken

ハンドルを閉じるときにの継続トークンには、非常に長い時間がかかります。

recursive
Nullable<Boolean>

このディレクトリのサブ ファイルとフォルダーを繰り返すかどうか。 値の不足は false と解釈されます。

accessCondition
AccessCondition

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

options
FileRequestOptions

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

operationContext
OperationContext

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

cancellationToken
Nullable<CancellationToken>

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

戻り値

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

属性

適用対象