CloudPageBlob.BeginCreate 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
BeginCreate(Int64, Nullable<PremiumPageBlobTier>, AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object) |
Startet einen asynchronen Vorgang zum Erstellen eines Seitenblobs. Wenn das Blob bereits vorhanden ist, wird es durch diesen Vorgang überschrieben. Um eine Ausnahme auszulösen, wenn das Blob vorhanden ist, übergeben Sie ein Objekt, das mit GenerateIfNotExistsCondition()generiert wird, anstatt zu AccessCondition überschreiben. |
BeginCreate(Int64, AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object) |
Startet einen asynchronen Vorgang zum Erstellen eines Seitenblobs. Wenn das Blob bereits vorhanden ist, wird es durch diesen Vorgang überschrieben. Um eine Ausnahme auszulösen, wenn das Blob vorhanden ist, übergeben Sie ein Objekt, das mit GenerateIfNotExistsCondition()generiert wird, anstatt zu AccessCondition überschreiben. |
BeginCreate(Int64, AsyncCallback, Object) |
Startet einen asynchronen Vorgang zum Erstellen eines Seitenblobs. Wenn das Blob bereits vorhanden ist, wird es durch diesen Vorgang überschrieben. Um eine Ausnahme auszulösen, wenn das Blob vorhanden ist, verwenden Sie BeginCreate(Int64, AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object)anstelle des Überschreibens . |
BeginCreate(Int64, Nullable<PremiumPageBlobTier>, AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object)
Startet einen asynchronen Vorgang zum Erstellen eines Seitenblobs. Wenn das Blob bereits vorhanden ist, wird es durch diesen Vorgang überschrieben. Um eine Ausnahme auszulösen, wenn das Blob vorhanden ist, übergeben Sie ein Objekt, das mit GenerateIfNotExistsCondition()generiert wird, anstatt zu AccessCondition überschreiben.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginCreate (long size, Microsoft.Azure.Storage.Blob.PremiumPageBlobTier? premiumPageBlobTier, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginCreate : int64 * Nullable<Microsoft.Azure.Storage.Blob.PremiumPageBlobTier> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginCreate : int64 * Nullable<Microsoft.Azure.Storage.Blob.PremiumPageBlobTier> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginCreate (size As Long, premiumPageBlobTier As Nullable(Of PremiumPageBlobTier), accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, callback As AsyncCallback, state As Object) As ICancellableAsyncResult
Parameter
- size
- Int64
Die maximale Größe des Blobs in Bytes.
- premiumPageBlobTier
- Nullable<PremiumPageBlobTier>
Ein PremiumPageBlobTier , der die festzulegende Ebene darstellt.
- accessCondition
- AccessCondition
Ein AccessCondition-Objekt, das die Bedingung darstellt, die erfüllt werden muss, damit die Anforderung fortgesetzt werden kann. Wenn null
, wird keine Bedingung verwendet.
- options
- BlobRequestOptions
Ein BlobRequestOptions-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
Ein AsyncCallback Delegat, der eine Benachrichtigung erhält, wenn der asynchrone Vorgang abgeschlossen ist.
- 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:
BeginCreate(Int64, AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object)
Startet einen asynchronen Vorgang zum Erstellen eines Seitenblobs. Wenn das Blob bereits vorhanden ist, wird es durch diesen Vorgang überschrieben. Um eine Ausnahme auszulösen, wenn das Blob vorhanden ist, übergeben Sie ein Objekt, das mit GenerateIfNotExistsCondition()generiert wird, anstatt zu AccessCondition überschreiben.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginCreate (long size, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginCreate : int64 * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginCreate : int64 * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginCreate (size As Long, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, callback As AsyncCallback, state As Object) As ICancellableAsyncResult
Parameter
- size
- Int64
Die maximale Größe des Blobs in Bytes.
- accessCondition
- AccessCondition
Ein AccessCondition-Objekt, das die Bedingung darstellt, die erfüllt werden muss, damit die Anforderung fortgesetzt werden kann. Wenn null
, wird keine Bedingung verwendet.
- options
- BlobRequestOptions
Ein BlobRequestOptions-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
Ein AsyncCallback Delegat, der eine Benachrichtigung erhält, wenn der asynchrone Vorgang abgeschlossen ist.
- 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:
BeginCreate(Int64, AsyncCallback, Object)
Startet einen asynchronen Vorgang zum Erstellen eines Seitenblobs. Wenn das Blob bereits vorhanden ist, wird es durch diesen Vorgang überschrieben. Um eine Ausnahme auszulösen, wenn das Blob vorhanden ist, verwenden Sie BeginCreate(Int64, AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object)anstelle des Überschreibens .
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginCreate (long size, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginCreate : int64 * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginCreate : int64 * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginCreate (size As Long, callback As AsyncCallback, state As Object) As ICancellableAsyncResult
Parameter
- size
- Int64
Die maximale Größe des Seitenblobs in Bytes.
- callback
- AsyncCallback
Ein AsyncCallback Delegat, der eine Benachrichtigung erhält, wenn der asynchrone Vorgang abgeschlossen ist.
- 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