CloudBlobContainer.CreateIfNotExistsAsync Methode

Definition

Überlädt

CreateIfNotExistsAsync()

Initiiert einen asynchronen Vorgang, der den Container erstellt, wenn er noch nicht vorhanden ist.

CreateIfNotExistsAsync(CancellationToken)

Initiiert einen asynchronen Vorgang, der den Container erstellt, wenn er noch nicht vorhanden ist.

CreateIfNotExistsAsync(BlobRequestOptions, OperationContext)

Initiiert einen asynchronen Vorgang, der den Container erstellt, wenn er noch nicht vorhanden ist.

CreateIfNotExistsAsync(BlobContainerPublicAccessType, BlobRequestOptions, OperationContext)

Initiiert einen asynchronen Vorgang, der den Container erstellt, wenn er noch nicht vorhanden ist.

CreateIfNotExistsAsync(BlobRequestOptions, OperationContext, CancellationToken)

Initiiert einen asynchronen Vorgang, der den Container erstellt, wenn er noch nicht vorhanden ist.

CreateIfNotExistsAsync(BlobContainerPublicAccessType, BlobRequestOptions, OperationContext, CancellationToken)

Initiiert einen asynchronen Vorgang, der den Container erstellt, wenn er noch nicht vorhanden ist.

CreateIfNotExistsAsync(BlobContainerPublicAccessType, BlobContainerEncryptionScopeOptions, BlobRequestOptions, OperationContext, CancellationToken)

Initiiert einen asynchronen Vorgang, der den Container erstellt, wenn er noch nicht vorhanden ist.

CreateIfNotExistsAsync()

Initiiert einen asynchronen Vorgang, der den Container erstellt, wenn er noch nicht vorhanden ist.

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

Gibt zurück

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

Attribute

Hinweise

Für diese API sind die Berechtigungen "Erstellen" oder "Schreiben" erforderlich.

Gilt für:

CreateIfNotExistsAsync(CancellationToken)

Initiiert einen asynchronen Vorgang, der den Container erstellt, wenn er noch nicht vorhanden ist.

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

Parameter

cancellationToken
CancellationToken

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

Gibt zurück

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

Attribute

Hinweise

Für diese API sind die Berechtigungen "Erstellen" oder "Schreiben" erforderlich.

Gilt für:

CreateIfNotExistsAsync(BlobRequestOptions, OperationContext)

Initiiert einen asynchronen Vorgang, der den Container erstellt, wenn er noch nicht vorhanden ist.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<bool> CreateIfNotExistsAsync (Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member CreateIfNotExistsAsync : Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<bool>
override this.CreateIfNotExistsAsync : Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<bool>
Public Overridable Function CreateIfNotExistsAsync (options As BlobRequestOptions, operationContext As OperationContext) As Task(Of Boolean)

Parameter

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, das den asynchronen Vorgang darstellt.

Attribute

Hinweise

Für diese API sind die Berechtigungen "Erstellen" oder "Schreiben" erforderlich.

Gilt für:

CreateIfNotExistsAsync(BlobContainerPublicAccessType, BlobRequestOptions, OperationContext)

Initiiert einen asynchronen Vorgang, der den Container erstellt, wenn er noch nicht vorhanden ist.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<bool> CreateIfNotExistsAsync (Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType accessType, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member CreateIfNotExistsAsync : Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<bool>
override this.CreateIfNotExistsAsync : Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<bool>
Public Overridable Function CreateIfNotExistsAsync (accessType As BlobContainerPublicAccessType, options As BlobRequestOptions, operationContext As OperationContext) As Task(Of Boolean)

Parameter

accessType
BlobContainerPublicAccessType

Ein BlobContainerPublicAccessType -Objekt, das angibt, ob auf Daten im Container öffentlich zugegriffen werden darf, und die Zugriffsebene.

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, das den asynchronen Vorgang darstellt.

Attribute

Hinweise

Für diese API sind die Berechtigungen "Erstellen" oder "Schreiben" erforderlich.

Gilt für:

CreateIfNotExistsAsync(BlobRequestOptions, OperationContext, CancellationToken)

Initiiert einen asynchronen Vorgang, der den Container erstellt, wenn er noch nicht vorhanden ist.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<bool> CreateIfNotExistsAsync (Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member CreateIfNotExistsAsync : Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
override this.CreateIfNotExistsAsync : Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Overridable Function CreateIfNotExistsAsync (options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of Boolean)

Parameter

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, das den asynchronen Vorgang darstellt.

Attribute

Hinweise

Für diese API sind die Berechtigungen "Erstellen" oder "Schreiben" erforderlich.

Gilt für:

CreateIfNotExistsAsync(BlobContainerPublicAccessType, BlobRequestOptions, OperationContext, CancellationToken)

Initiiert einen asynchronen Vorgang, der den Container erstellt, wenn er noch nicht vorhanden ist.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<bool> CreateIfNotExistsAsync (Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType accessType, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member CreateIfNotExistsAsync : Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
override this.CreateIfNotExistsAsync : Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Overridable Function CreateIfNotExistsAsync (accessType As BlobContainerPublicAccessType, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of Boolean)

Parameter

accessType
BlobContainerPublicAccessType

Ein BlobContainerPublicAccessType -Objekt, das angibt, ob auf Daten im Container öffentlich zugegriffen werden darf, und die Zugriffsebene.

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, das den asynchronen Vorgang darstellt.

Attribute

Hinweise

Für diese API sind die Berechtigungen "Erstellen" oder "Schreiben" erforderlich.

Gilt für:

CreateIfNotExistsAsync(BlobContainerPublicAccessType, BlobContainerEncryptionScopeOptions, BlobRequestOptions, OperationContext, CancellationToken)

Initiiert einen asynchronen Vorgang, der den Container erstellt, wenn er noch nicht vorhanden ist.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<bool> CreateIfNotExistsAsync (Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType accessType, Microsoft.Azure.Storage.Blob.BlobContainerEncryptionScopeOptions encryptionScopeOptions, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member CreateIfNotExistsAsync : Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType * Microsoft.Azure.Storage.Blob.BlobContainerEncryptionScopeOptions * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
override this.CreateIfNotExistsAsync : Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType * Microsoft.Azure.Storage.Blob.BlobContainerEncryptionScopeOptions * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Overridable Function CreateIfNotExistsAsync (accessType As BlobContainerPublicAccessType, encryptionScopeOptions As BlobContainerEncryptionScopeOptions, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of Boolean)

Parameter

accessType
BlobContainerPublicAccessType

Ein BlobContainerPublicAccessType -Objekt, das angibt, ob auf Daten im Container öffentlich zugegriffen werden darf, und die Zugriffsebene.

encryptionScopeOptions
BlobContainerEncryptionScopeOptions

Ein BlobContainerEncryptionScopeOptions -Objekt, das Verschlüsselungsbereichsoptionen angibt, die für diesen Container festgelegt werden sollen.

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, das den asynchronen Vorgang darstellt.

Attribute

Hinweise

Für diese API sind die Berechtigungen "Erstellen" oder "Schreiben" erforderlich.

Gilt für: