Export (0) Print
Expand All

BrokeredMessage.ContentType Property

Gets or sets the type of the content.

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

public string ContentType { 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.

Community Additions

ADD
Show:
© 2015 Microsoft