Edit

Share via


MessageBody Constructors

Definition

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.

Applies to