SaaS CMS has officially launched! Learn more now.

Class UserNotificationMessage

Inheritance
System.Object
UserNotificationMessage
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: 8.11.0
Syntax
public class UserNotificationMessage

Constructors

UserNotificationMessage()

Declaration
public UserNotificationMessage()

Properties

Category

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

ChannelName

The name of the channel for the name.

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

It is the ChannelName in combination with user settings that controls which INotificationFormatter and INotificationProvider that will be used to format and send the message.

Content

The content of the message

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

Id

The id of the message

Declaration
public int Id { get; set; }
Property Value
Type Description
System.Int32

Notified

Declaration
public DateTime Notified { get; set; }
Property Value
Type Description
System.DateTime

Read

Declaration
public DateTime? Read { get; set; }
Property Value
Type Description
System.Nullable<System.DateTime>

Recipient

The receivers for the message

Declaration
public INotificationUser Recipient { get; set; }
Property Value
Type Description
INotificationUser

Sender

The sender of the message

Declaration
public INotificationUser Sender { get; set; }
Property Value
Type Description
INotificationUser

Sent

Declaration
public DateTime? Sent { get; set; }
Property Value
Type Description
System.Nullable<System.DateTime>

Subject

The message subject

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