System.Messaging Reference (Document! X Sample)
BodyType Property



System.Messaging Namespace > Message Class : 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;}
public:
property int BodyType {
   int get();
   void set (    int value);
}

Property Value

The message body's true type, such as a string, a date, a currency, or a number.
Exceptions
ExceptionDescription
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

Reference

Message Class
Message Members