CloudBlobContainer.SetMetadata 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.
Legt die benutzerdefinierten Metadaten des Containers fest.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual void SetMetadata(Microsoft.Azure.Storage.AccessCondition accessCondition = default, Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default, Microsoft.Azure.Storage.OperationContext operationContext = default);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member SetMetadata : Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> unit
override this.SetMetadata : Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> unit
Public Overridable Sub SetMetadata (Optional accessCondition As AccessCondition = Nothing, Optional options As BlobRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing)
Parameter
- 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. Wenn null
, werden standardoptionen auf die Anforderung angewendet.
- operationContext
- OperationContext
Ein OperationContext-Objekt, das den Kontext für den aktuellen Vorgang darstellt.
- Attribute
Gilt für:
Azure SDK for .NET