Represents the message to be sent, composed of a subject and a body.
Represents the message to be sent, composed of a subject and a body.
Declaration Syntax
C# |
public class Message
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
Message()()()() |
Default constructor for a new Message object. Callers should use the
properties to initialize this object after creating it.
| |
Message(Content, Body) |
Constructs a new Message object.
Callers should use the properties initialize any additional object members.
| |
Body |
Gets and sets the property Body.
The message body. | |
Equals(Object) | (Inherited from Object.) | |
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
Subject |
Gets and sets the property Subject.
The subject of the message: A short summary of the content, which will appear in the recipient's inbox. | |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
WithBody(Body) | Obsolete.
Sets the Body property
| |
WithSubject(Content) | Obsolete.
Sets the Subject property
|
Inheritance Hierarchy
Object | |
Message |