SALES: 1-800-867-1380

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.

ExceptionCondition
ObjectDisposedException

Thrown if the message is in disposed state.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft