Freigeben über


CloudFile.BeginCloseAllHandlesSegmented Methode

Definition

Startet einen asynchronen Vorgang, um alle SMB-Handles für diese Datei zu schließen.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginCloseAllHandlesSegmented (Microsoft.Azure.Storage.File.FileContinuationToken token, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.File.FileRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginCloseAllHandlesSegmented : Microsoft.Azure.Storage.File.FileContinuationToken * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginCloseAllHandlesSegmented : Microsoft.Azure.Storage.File.FileContinuationToken * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginCloseAllHandlesSegmented (token As FileContinuationToken, accessCondition As AccessCondition, options As FileRequestOptions, operationContext As OperationContext, callback As AsyncCallback, state As Object) As ICancellableAsyncResult

Parameter

token
FileContinuationToken

Fortsetzungstoken zum Schließen vieler Handles.

accessCondition
AccessCondition

Ein AccessCondition-Objekt, das die Zugriffsbedingung für die Datei darstellt. Wenn null, wird keine Bedingung verwendet.

options
FileRequestOptions

Ein FileRequestOptions-Objekt, das zusätzliche Optionen für die Anforderung angibt.

operationContext
OperationContext

Ein OperationContext-Objekt, das den Kontext für den aktuellen Vorgang darstellt.

callback
AsyncCallback

Der Rückrufdelegat, der nach Abschluss des asynchronen Vorgangs eine Benachrichtigung erhält.

state
Object

Ein benutzerdefiniertes Objekt, das an den Rückrufdelegaten übergeben wird.

Gibt zurück

Ein ICancellableAsyncResult , der auf den asynchronen Vorgang verweist.

Attribute

Gilt für: