Dela via


CloudFile.ListHandlesSegmentedAsync Method

Definition

Returns a task that performs an asynchronous operation to get the SMB handles open on this file.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.FileHandleResultSegment> ListHandlesSegmentedAsync (Microsoft.Azure.Storage.File.FileContinuationToken token = default, int? maxResults = 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 ListHandlesSegmentedAsync : Microsoft.Azure.Storage.File.FileContinuationToken * Nullable<int> * 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.FileHandleResultSegment>
override this.ListHandlesSegmentedAsync : Microsoft.Azure.Storage.File.FileContinuationToken * Nullable<int> * 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.FileHandleResultSegment>
Public Overridable Function ListHandlesSegmentedAsync (Optional token As FileContinuationToken = Nothing, Optional maxResults As Nullable(Of Integer) = 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 FileHandleResultSegment)

Parameters

token
FileContinuationToken

Continuation token for paginated results.

maxResults
Nullable<Int32>

The maximum number of results to be returned by the server.

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