BrokeredMessage.ContentType Property


Gets or sets the type of the content.

Namespace:   Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

member ContentType : string with get, set

Property Value

Type: System.String

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.

Exception Condition

Thrown if the message is in disposed state.

Return to top