Freigeben über


CloudBlobContainer.Exists(BlobRequestOptions, OperationContext) Methode

Definition

Überprüft, ob der Container vorhanden ist.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual bool Exists (Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions = default, Microsoft.Azure.Storage.OperationContext operationContext = default);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member Exists : Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> bool
override this.Exists : Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> bool
Public Overridable Function Exists (Optional requestOptions As BlobRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing) As Boolean

Parameter

requestOptions
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

true, wenn der Container vorhanden ist.

Attribute

Gilt für: