Class StateMessage
Message that is sent by the Server
Inheritance
Namespace: EPiServer.Events.Clients.Internal
Assembly: EPiServer.Events.dll
Version: 12.0.3Syntax
[EventsServiceKnownType]
public class StateMessage : Object
Constructors
StateMessage()
Default constructor
Declaration
public StateMessage()
StateMessage(String, String, StateMessageType)
Initializes a new instance of the State
Declaration
public StateMessage(string serverName, string applicationName, StateMessageType type)
Parameters
Type | Name | Description |
---|---|---|
System. |
serverName | Name of the server. |
System. |
applicationName | Name of the application. |
State |
type | The message type. |
StateMessage(String, String, StateMessageType, DateTime)
Initializes a new instance of the State
Declaration
public StateMessage(string serverName, string applicationName, StateMessageType type, DateTime sent)
Parameters
Type | Name | Description |
---|---|---|
System. |
serverName | Name of the server. |
System. |
applicationName | Name of the application. |
State |
type | The message type. |
System. |
sent | The time when the message was sent. |
Properties
ApplicationName
Gets the name of the application (AppDomain) that this message origins from.
Declaration
public string ApplicationName { get; set; }
Property Value
Type | Description |
---|---|
System. |
Sent
Gets the date when this message was sent.
Declaration
public DateTime Sent { get; set; }
Property Value
Type | Description |
---|---|
System. |
ServerName
Gets the name of the server that this message origins from.
Declaration
public string ServerName { get; set; }
Property Value
Type | Description |
---|---|
System. |
Type
Gets the type of message that was sent.
Declaration
public StateMessageType Type { get; set; }
Property Value
Type | Description |
---|---|
State |
Methods
ToString()
Returns a System.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System. |
A System. |