MessageBody Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
MessageBody() |
Initializes a new instance of the MessageBody class. |
MessageBody(String) |
Initializes a new instance of the MessageBody class with the message body text. |
MessageBody(BodyType, String) |
Initializes a new instance of the MessageBody class with the message body type and message body text. |
MessageBody()
Initializes a new instance of the MessageBody class.
public:
MessageBody();
public MessageBody ();
Public Sub New ()
Applies to
MessageBody(String)
Initializes a new instance of the MessageBody class with the message body text.
public:
MessageBody(System::String ^ text);
public MessageBody (string text);
Public Sub New (text As String)
Parameters
- text
- String
The text of the message body, which is assumed to be HTML.
Applies to
MessageBody(BodyType, String)
Initializes a new instance of the MessageBody class with the message body type and message body text.
public:
MessageBody(Microsoft::Exchange::WebServices::Data::BodyType bodyType, System::String ^ text);
public MessageBody (Microsoft.Exchange.WebServices.Data.BodyType bodyType, string text);
Parameters
- bodyType
- BodyType
The message body type.
- text
- String
The text of the message body.