AWS SDK for .NET Documentation
Message Class
AmazonAmazon.SimpleEmail.ModelMessage Did this page help you?   Yes   No    Tell us about it...
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 MembersConstructorsMethodsProperties



IconMemberDescription
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)
Determines whether the specified Object is equal to the current 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

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)