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)

'Declaration
Public Property ContentType As String
	Get
	Set
'Usage
Dim instance As BrokeredMessage
Dim value As String

value = instance.ContentType

instance.ContentType = value

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:
© 2014 Microsoft