CloudBlob.Exists(BlobRequestOptions, OperationContext) Methode

Definition

Überprüft, ob das Blob vorhanden ist.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual bool Exists (Microsoft.Azure.Storage.Blob.BlobRequestOptions options = 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 options As BlobRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing) As Boolean

Parameter

options
BlobRequestOptions

Ein BlobRequestOptions-Objekt, das zusätzliche Optionen für die Anforderung angibt. Wenn null, werden standardoptionen auf die Anforderung angewendet.

operationContext
OperationContext

Ein OperationContext-Objekt, das den Kontext für den aktuellen Vorgang darstellt.

Gibt zurück

true, wenn das Blob vorhanden ist.

Attribute

Gilt für: