Class UserNotificationMessage
Represents a one-to-one message.
Inheritance
Namespace: EPiServer.Notification
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public class UserNotificationMessage : Object
Constructors
UserNotificationMessage()
Declaration
public UserNotificationMessage()
Properties
Category
Declaration
public Uri Category { get; set; }
Property Value
Type | Description |
---|---|
System. |
ChannelName
The name of the channel.
Declaration
public string ChannelName { get; set; }
Property Value
Type | Description |
---|---|
System. |
Remarks
It is the Channel
Content
The content of the message
Declaration
public string Content { get; set; }
Property Value
Type | Description |
---|---|
System. |
Id
The id of the message
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System. |
Link
Optional property that can be used for the FormatUserMessage-method in
IUser
Declaration
public Uri Link { get; set; }
Property Value
Type | Description |
---|---|
System. |
Remarks
If used, this property should be set in the IUser
Posted
The time when the message was posted.
Declaration
public DateTime Posted { get; set; }
Property Value
Type | Description |
---|---|
System. |
Read
The time when the message was read or null if it hasn't been read yet.
Declaration
public Nullable<DateTime> Read { get; set; }
Property Value
Type | Description |
---|---|
System. |
Recipient
The receivers for the message
Declaration
public INotificationUser Recipient { get; set; }
Property Value
Type | Description |
---|---|
INotification |
SendAt
The time after which the message will be sent or null for next scheduling.
Declaration
public Nullable<DateTime> SendAt { get; set; }
Property Value
Type | Description |
---|---|
System. |
Sender
The sender of the message
Declaration
public INotificationUser Sender { get; set; }
Property Value
Type | Description |
---|---|
INotification |
Sent
The time when the message was sent or null if it hasn't been send yet.
Declaration
public Nullable<DateTime> Sent { get; set; }
Property Value
Type | Description |
---|---|
System. |
Subject
The message subject
Declaration
public string Subject { get; set; }
Property Value
Type | Description |
---|---|
System. |
TypeName
The type of the message.
Declaration
public string TypeName { get; set; }
Property Value
Type | Description |
---|---|
System. |