共用方式為


ServiceBusMessage.ContentType Property

Definition

Gets or sets the content type descriptor.

public string ContentType { get; set; }
member this.ContentType : string with get, set
Public Property ContentType As String

Property Value

RFC2045 Content-Type descriptor.

Remarks

Optionally describes the payload of the message, with a descriptor following the format of RFC2045, Section 5, for example "application/json".

Applies to