CloudBlockBlob.CreateSnapshotAsync Methode

Definition

Überlädt

CreateSnapshotAsync(IDictionary<String,String>, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Initiiert einen asynchronen Vorgang, um eine Momentaufnahme des Blobs zu erstellen.

CreateSnapshotAsync()

Initiiert einen asynchronen Vorgang, um eine Momentaufnahme des Blobs zu erstellen.

CreateSnapshotAsync(CancellationToken)

Initiiert einen asynchronen Vorgang, um eine Momentaufnahme des Blobs zu erstellen.

CreateSnapshotAsync(IDictionary<String,String>, AccessCondition, BlobRequestOptions, OperationContext)

Initiiert einen asynchronen Vorgang, um eine Momentaufnahme des Blobs zu erstellen.

CreateSnapshotAsync(IDictionary<String,String>, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Initiiert einen asynchronen Vorgang, um eine Momentaufnahme des Blobs zu erstellen.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.CloudBlockBlob> CreateSnapshotAsync (System.Collections.Generic.IDictionary<string,string> metadata, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member CreateSnapshotAsync : System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.CloudBlockBlob>
override this.CreateSnapshotAsync : System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.CloudBlockBlob>
Public Overridable Function CreateSnapshotAsync (metadata As IDictionary(Of String, String), accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of CloudBlockBlob)

Parameter

metadata
IDictionary<String,String>

Eine Auflistung von Name-Wert-Paaren, die die Metadaten der Momentaufnahme definieren.

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.

cancellationToken
CancellationToken

Ein CancellationToken, das beim Warten auf den Abschluss einer Aufgabe überwacht werden soll.

Gibt zurück

Ein Task<TResult>-Objekt vom Typ CloudBlockBlob, das den asynchronen Vorgang darstellt.

Attribute

Gilt für:

CreateSnapshotAsync()

Initiiert einen asynchronen Vorgang, um eine Momentaufnahme des Blobs zu erstellen.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.CloudBlockBlob> CreateSnapshotAsync ();
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member CreateSnapshotAsync : unit -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.CloudBlockBlob>
override this.CreateSnapshotAsync : unit -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.CloudBlockBlob>
Public Overridable Function CreateSnapshotAsync () As Task(Of CloudBlockBlob)

Gibt zurück

Ein Task<TResult>-Objekt vom Typ CloudBlockBlob, das den asynchronen Vorgang darstellt.

Attribute

Gilt für:

CreateSnapshotAsync(CancellationToken)

Initiiert einen asynchronen Vorgang, um eine Momentaufnahme des Blobs zu erstellen.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.CloudBlockBlob> CreateSnapshotAsync (System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member CreateSnapshotAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.CloudBlockBlob>
override this.CreateSnapshotAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.CloudBlockBlob>
Public Overridable Function CreateSnapshotAsync (cancellationToken As CancellationToken) As Task(Of CloudBlockBlob)

Parameter

cancellationToken
CancellationToken

Ein CancellationToken, das beim Warten auf den Abschluss einer Aufgabe überwacht werden soll.

Gibt zurück

Ein Task<TResult>-Objekt vom Typ CloudBlockBlob, das den asynchronen Vorgang darstellt.

Attribute

Gilt für:

CreateSnapshotAsync(IDictionary<String,String>, AccessCondition, BlobRequestOptions, OperationContext)

Initiiert einen asynchronen Vorgang, um eine Momentaufnahme des Blobs zu erstellen.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.CloudBlockBlob> CreateSnapshotAsync (System.Collections.Generic.IDictionary<string,string> metadata, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member CreateSnapshotAsync : System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.CloudBlockBlob>
override this.CreateSnapshotAsync : System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.CloudBlockBlob>
Public Overridable Function CreateSnapshotAsync (metadata As IDictionary(Of String, String), accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext) As Task(Of CloudBlockBlob)

Parameter

metadata
IDictionary<String,String>

Eine Auflistung von Name-Wert-Paaren, die die Metadaten der Momentaufnahme definieren.

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.

Gibt zurück

Ein Task<TResult>-Objekt vom Typ CloudBlockBlob, das den asynchronen Vorgang darstellt.

Attribute

Gilt für: