Partilhar via


CloudFileDirectory.CloseHandleSegmentedAsync Método

Definição

Sobrecargas

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

Retorna uma tarefa que executa uma operação assíncrona para fechar o identificador SMB especificado nesse diretório.

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

Retorna uma tarefa que executa uma operação assíncrona para fechar o identificador SMB especificado nesse diretório.

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

Retorna uma tarefa que executa uma operação assíncrona para fechar o identificador SMB especificado nesse diretório.

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

Parâmetros

handleId
String

ID do identificador , "*" se todos os identificadores no arquivo.

token
FileContinuationToken

O token de continuação para ao fechar o identificador leva muito tempo.

recursive
Nullable<Boolean>

Se deve ser recurso por meio dos sub-arquivos e pastas desse diretório. A falta de valor é interpretada como false.

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

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

Retorna uma tarefa que executa uma operação assíncrona para fechar o identificador SMB especificado nesse diretório.

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

Parâmetros

handleId
UInt64

ID do identificador.

token
FileContinuationToken

O token de continuação para ao fechar o identificador leva muito tempo.

recursive
Nullable<Boolean>

Se deve ser recurso por meio dos sub-arquivos e pastas desse diretório. A falta de valor é interpretada como false.

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