BodyType Property
Gets or sets the type of data that the message body contains.
Syntax
'Declaration Public Property BodyType As Integer
'Usage Dim instance As Message Dim value As Integer instance.BodyType = value value = instance.BodyType
public int BodyType {get; set;}
Property Value
The message body's true type, such as a string, a date, a currency, or a number.Exceptions
Exception | Description |
---|---|
System.InvalidOperationException | The message queue is filtered to ignore the Body property. |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also