CloudFileDirectory.CloseAllHandlesSegmentedAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a task that performs an asynchronous operation to close all SMB handles on this directory.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.CloseFileHandleResultSegment> CloseAllHandlesSegmentedAsync (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 CloseAllHandlesSegmentedAsync : 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.CloseAllHandlesSegmentedAsync : 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 CloseAllHandlesSegmentedAsync (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)
Parameters
- token
- FileContinuationToken
Continuation token for closing the handles.
Whether to recurse through this directory's sub files and folders. A lack of value is interpreted as false.
- accessCondition
- AccessCondition
An AccessCondition object that represents the access conditions for the file. If null
, no condition is used.
- options
- FileRequestOptions
A FileRequestOptions object that specifies additional options for the request.
- operationContext
- OperationContext
An OperationContext object that represents the context for the current operation.
- cancellationToken
- Nullable<CancellationToken>
A CancellationToken to observe while waiting for a task to complete.
Returns
A Task<TResult> object that represents the current operation.
- Attributes
Applies to
Azure SDK for .NET
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin