CloudFile.BeginOpenRead Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
BeginOpenRead(AsyncCallback, Object) |
Startet einen asynchronen Vorgang, um einen Stream zum Lesen aus der Datei zu öffnen. |
BeginOpenRead(AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object) |
Startet einen asynchronen Vorgang, um einen Stream zum Lesen aus der Datei zu öffnen. |
BeginOpenRead(AsyncCallback, Object)
Startet einen asynchronen Vorgang, um einen Stream zum Lesen aus der Datei zu öffnen.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginOpenRead (AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginOpenRead : AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginOpenRead : AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginOpenRead (callback As AsyncCallback, state As Object) As ICancellableAsyncResult
Parameter
- 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:
BeginOpenRead(AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)
Startet einen asynchronen Vorgang, um einen Stream zum Lesen aus der Datei zu öffnen.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginOpenRead (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 BeginOpenRead : Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginOpenRead : Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginOpenRead (accessCondition As AccessCondition, options As FileRequestOptions, operationContext As OperationContext, callback As AsyncCallback, state As Object) As ICancellableAsyncResult
Parameter
- 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:
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für