Click or drag to resize
Message Class
Represents a message to be published.
Inheritance Hierarchy
SystemObject
  DbObject
    Dynamicweb.Content.SocialPostBase
      Dynamicweb.Content.SocialMessage

Namespace: Dynamicweb.Content.Social
Assembly: Dynamicweb (in Dynamicweb.dll) Version: 9.6.0
Syntax
public class Message : PostBase

The Message type exposes the following members.

Constructors
  NameDescription
Public methodMessage
Initializes a new instance of an object.
Top
Properties
  NameDescription
Public propertyBody
Gets or sets the post body.
(Inherited from PostBase.)
Public propertyConnection (Inherited from DbObject.)
Public propertyCreated
Gets the date and time when the message was created.
(Inherited from PostBase.)
Public propertyFolderId
Public propertyID (Inherited from DbObject.)
Public propertyImage
Gets or sets the URI of the image that should be associated with the post.
(Inherited from PostBase.)
Public propertyIsNew (Inherited from DbObject.)
Public propertyIsPublished
Gets value indicating whether this post is published.
(Inherited from PostBase.)
Public propertyLink
Gets or sets the URI that should be associated with the post.
(Inherited from PostBase.)
Public propertyPosts
Gets the list of all posts related to this message.
Public propertyPublished
Gets or sets the date and time this message was published.
(Inherited from PostBase.)
Public propertyPublishedSuccessfully
Public propertyScheduledDate
Public propertySocialTask
Public propertyTitle
Gets or sets the post title.
(Inherited from PostBase.)
Public propertyTopFolderId
Public propertyTransaction (Inherited from DbObject.)
Public propertyUpdated
Gets the date and time when the message was updated.
(Inherited from PostBase.)
Top
Methods
  NameDescription
Public methodCreateScheduledTask
Creates the scheduled task for email sending.
Public methodCreateSendScheduledTask
Public methodDelete (Inherited from DbObject.)
Public methodDelete(Int32) (Inherited from DbObject.)
Public methodDeletePostsByChannelsReverse
Deletes posts that don't belong to the given channels.
Public methodFill
Fills object properties with data from the given IDataReader object.
(Overrides PostBaseFill(IDataReader).)
Protected methodFillRow
Fills the given DataRow object with object state values.
(Overrides PostBaseFillRow(DataRow).)
Public methodStatic memberGetMessageById
Returns the message by its Id.
Public methodStatic memberGetMessageCountByTopFolderId
Public methodStatic memberGetMessages
Returns a list of all available messages.
Public methodStatic memberGetMessagesWithFailedPosts
Returns a list of all available messages.
Public methodStatic memberGetPublishedMessages
Returns a list of all published messages.
Public methodStatic memberGetPublishedMessages(Int32)
Returns a list of all published messages.
Public methodStatic memberGetScheduledMessages
Returns a list of all scheduled messages.
Public methodStatic memberGetScheduledMessages(Int32)
Returns a list of all scheduled messages.
Public methodStatic memberGetUnpublishedMessages
Returns a list of all unpublished messages.
Public methodStatic memberGetUnpublishedMessagesCount
Returns a total number of all unpublished messages.
Public methodStatic memberGetUnpublishedMessagesWithoutScheduled
Returns a list of all unpublished messages.
Public methodStatic memberGetUnpublishedMessagesWithoutScheduled(Int32)
Returns a list of all unpublished messages.
Public methodLoad (Inherited from DbObject.)
Public methodPublish
Publishes this messages posts to the related channels.
Public methodSave (Inherited from DbObject.)
Top
Fields
  NameDescription
Protected field_id (Inherited from DbObject.)
Protected field_keyField (Inherited from DbObject.)
Protected field_tableName (Inherited from DbObject.)
Top
Remarks