• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class Message

The Message class describes the content of messages sent via the system As messaging is system wide process and there may be no portalID context (e.g. a host messaging "all users") the object does not tie to portalID.

Inheritance
System.Object
BaseEntityInfo
Message
Implements
IHydratable
Inherited Members
BaseEntityInfo.CreatedByUserID
BaseEntityInfo.CreatedOnDate
BaseEntityInfo.LastModifiedByUserID
BaseEntityInfo.LastModifiedOnDate
BaseEntityInfo.CreatedByUser(Int32)
BaseEntityInfo.LastModifiedByUser(Int32)
BaseEntityInfo.FillInternal(IDataReader)
BaseEntityInfo.CloneBaseProperties(BaseEntityInfo, BaseEntityInfo)
Namespace: DotNetNuke.Services.Social.Messaging
Assembly: DotNetNuke.dll
Syntax
public class Message : BaseEntityInfo, IHydratable

Properties

| Improve this Doc View Source

Body

Gets or sets message body.

Declaration
public string Body { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ConversationId

Gets or sets conversation ID of the Message. Each message has at least one ConversationId. Subsequent Replies to a Message get same ConversationId.

Declaration
public int ConversationId { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

DisplayDate

Gets a pretty printed string with the time since the message was created.

Declaration
public string DisplayDate { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

From

Gets or sets message From.

Declaration
public string From { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

KeyID

Gets or sets iHydratable.KeyID.

Declaration
public int KeyID { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

MessageID

Gets or sets messageID - The primary key.

Declaration
public int MessageID { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

NotificationTypeID

Gets or sets notificationType ID of the Message. Each message is associated with a notification type.

Declaration
public int NotificationTypeID { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

PortalID

Gets or sets portalID for the message.

Declaration
public int PortalID { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

ReplyAllAllowed

Gets or sets a value indicating whether replyAllAllowed is a bit value to indicate if the reply to the message can be sent to all the recipients or just the sender.

Declaration
public bool ReplyAllAllowed { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

SenderUserID

Gets or sets the UserID of the sender of the message.

Declaration
public int SenderUserID { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Subject

Gets or sets message Subject.

Declaration
public string Subject { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

To

Gets or sets to list for the message. This information is saved for faster display of To list in the message.

Declaration
public string To { get; set; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

Fill(IDataReader)

Fill the object with data from database.

Declaration
public void Fill(IDataReader dr)
Parameters
Type Name Description
IDataReader dr

the data reader.

Implements

IHydratable

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS