November Happy Hour will be moved to Thursday December 5th.

Class FormatterNotificationMessage

Notification message used in INotificationFormatter

Inheritance
System.Object
FormatterNotificationMessage
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Notification
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public class FormatterNotificationMessage

Constructors

FormatterNotificationMessage(IEnumerable<Int32>)

Constructor for creating a FormatterNotificationMessage made out of multiple messages.

Declaration
public FormatterNotificationMessage(IEnumerable<int> messageIds)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.Int32> messageIds

List of message ids

FormatterNotificationMessage(Int32)

Constructor for creating a FormatterNotificationMessage.

Declaration
public FormatterNotificationMessage(int messageId)
Parameters
Type Name Description
System.Int32 messageId

A message id

Properties

Category

The category of the message.

Declaration
public Uri Category { get; set; }
Property Value
Type Description
System.Uri

ContainedIDs

The id(s) of the message(s) that was used to create this message.

Declaration
public IList<int> ContainedIDs { get; }
Property Value
Type Description
System.Collections.Generic.IList<System.Int32>

Content

The content of the message

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

SenderName

The name of the Sender.

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

Subject

The subject of the message

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

TypeName

The type of the message.

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

Extension Methods