CloudBlobContainer.CreateAsync 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
CreateAsync(BlobContainerPublicAccessType, BlobContainerEncryptionScopeOptions, BlobRequestOptions, OperationContext, CancellationToken) |
Initiiert einen asynchronen Vorgang, der einen Container erstellt und die Zugriffsebene auf die Daten des Containers angibt. |
CreateAsync() |
Initiiert einen asynchronen Vorgang, der einen Container erstellt. |
CreateAsync(CancellationToken) |
Initiiert einen asynchronen Vorgang, der einen Container erstellt. |
CreateAsync(BlobContainerPublicAccessType, BlobRequestOptions, OperationContext) |
Initiiert einen asynchronen Vorgang, der einen Container erstellt. |
CreateAsync(BlobContainerPublicAccessType, BlobRequestOptions, OperationContext, CancellationToken) |
Initiiert einen asynchronen Vorgang, der einen Container erstellt und die Zugriffsebene auf die Daten des Containers angibt. |
CreateAsync(BlobContainerPublicAccessType, BlobContainerEncryptionScopeOptions, BlobRequestOptions, OperationContext, CancellationToken)
Initiiert einen asynchronen Vorgang, der einen Container erstellt und die Zugriffsebene auf die Daten des Containers angibt.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task CreateAsync (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 CreateAsync : 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
override this.CreateAsync : 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
Public Overridable Function CreateAsync (accessType As BlobContainerPublicAccessType, encryptionScopeOptions As BlobContainerEncryptionScopeOptions, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task
Parameter
- accessType
- BlobContainerPublicAccessType
Ein BlobContainerPublicAccessType-Objekt, das angibt, ob auf Daten im Container öffentlich zugegriffen werden darf und welche Zugriffsebene zulässig sein soll.
- 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-Objekt, das den asynchronen Vorgang darstellt.
- Attribute
Gilt für:
CreateAsync()
Initiiert einen asynchronen Vorgang, der einen Container erstellt.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task CreateAsync ();
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member CreateAsync : unit -> System.Threading.Tasks.Task
override this.CreateAsync : unit -> System.Threading.Tasks.Task
Public Overridable Function CreateAsync () As Task
Gibt zurück
Ein Task-Objekt, das den asynchronen Vorgang darstellt.
- Attribute
Gilt für:
CreateAsync(CancellationToken)
Initiiert einen asynchronen Vorgang, der einen Container erstellt.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task CreateAsync (System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member CreateAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.CreateAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function CreateAsync (cancellationToken As CancellationToken) As Task
Parameter
- cancellationToken
- CancellationToken
Ein CancellationToken, das beim Warten auf den Abschluss einer Aufgabe überwacht werden soll.
Gibt zurück
Ein Task-Objekt, das den asynchronen Vorgang darstellt.
- Attribute
Gilt für:
CreateAsync(BlobContainerPublicAccessType, BlobRequestOptions, OperationContext)
Initiiert einen asynchronen Vorgang, der einen Container erstellt.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task CreateAsync (Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType accessType, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member CreateAsync : Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task
override this.CreateAsync : Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task
Public Overridable Function CreateAsync (accessType As BlobContainerPublicAccessType, options As BlobRequestOptions, operationContext As OperationContext) As Task
Parameter
- accessType
- BlobContainerPublicAccessType
Ein BlobContainerPublicAccessType-Objekt, das angibt, ob auf Daten im Container öffentlich zugegriffen werden darf und welche Zugriffsebene zulässig sein soll.
- 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-Objekt, das den asynchronen Vorgang darstellt.
- Attribute
Gilt für:
CreateAsync(BlobContainerPublicAccessType, BlobRequestOptions, OperationContext, CancellationToken)
Initiiert einen asynchronen Vorgang, der einen Container erstellt und die Zugriffsebene auf die Daten des Containers angibt.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task CreateAsync (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 CreateAsync : Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.CreateAsync : Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function CreateAsync (accessType As BlobContainerPublicAccessType, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task
Parameter
- accessType
- BlobContainerPublicAccessType
Ein BlobContainerPublicAccessType-Objekt, das angibt, ob auf Daten im Container öffentlich zugegriffen werden darf und welche Zugriffsebene zulässig sein soll.
- 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-Objekt, das den asynchronen Vorgang darstellt.
- Attribute
Gilt für:
Azure SDK for .NET