Edit

Share via


MessageBody Class

Definition

Represents the body of a message.

public ref class MessageBody : Microsoft::Exchange::WebServices::Data::ComplexProperty
public class MessageBody : Microsoft.Exchange.WebServices.Data.ComplexProperty
Public Class MessageBody
Inherits ComplexProperty
Inheritance
MessageBody
Derived

Constructors

MessageBody()

Initializes a new instance of the MessageBody class.

MessageBody(BodyType, String)

Initializes a new instance of the MessageBody class with the message body type and message body text.

MessageBody(String)

Initializes a new instance of the MessageBody class with the message body text.

Properties

BodyType

Gets or sets the message body type.

Text

Gets or sets the message body text.

Methods

ToString()

Returns a string that represents the current message body object.

Operators

Implicit(MessageBody to String)

Defines an implicit conversion of a message body into a string.

Implicit(String to MessageBody)

Defines an implicit conversion of a string to a message body.

Applies to