Share via


CloudFile.CloseAllHandlesSegmentedAsync Método

Definição

Retorna uma tarefa que executa uma operação assíncrona para fechar todos os identificadores SMB nesse arquivo.

[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)

Parâmetros

token
FileContinuationToken

Token de continuação para fechar muitos identificadores.

accessCondition
AccessCondition

Um objeto AccessCondition que representa condições de acesso do arquivo. Se for null, nenhuma condição é usada.

options
FileRequestOptions

Um objeto FileRequestOptions que especifica opções adicionais para a solicitação.

operationContext
OperationContext

Um objeto OperationContext que representa o contexto da operação atual.

cancellationToken
Nullable<CancellationToken>

Um CancellationToken a ser observado ao aguardar a conclusão da tarefa.

Retornos

Um objeto Task<TResult> que representa a operação atual.

Atributos

Aplica-se a