共用方式為


BrokeredMessage.ContentType Property

Definition

Gets or sets the type of the content.

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

Property Value

The type of the content of the message body. This is a content type identifier utilized by the sender and receiver for application specific logic.

Exceptions

Thrown if the message is in disposed state.

Applies to