Class StateMessage
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Message that is sent by the ServerStateService to propagate status information.
Inheritance
Inherited Members
Namespace: EPiServer.Events.Clients.Internal
Assembly: EPiServer.Events.dll
Version: 11.20.7Syntax
[EventsServiceKnownType]
public class StateMessage
Constructors
StateMessage(String, String, StateMessageType)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Initializes a new instance of the StateMessage class.
Declaration
public StateMessage(string serverName, string applicationName, StateMessageType type)
Parameters
Type | Name | Description |
---|---|---|
System.String | serverName | Name of the server. |
System.String | applicationName | Name of the application. |
StateMessageType | type | The message type. |
StateMessage(String, String, StateMessageType, DateTime)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Initializes a new instance of the StateMessage class.
Declaration
public StateMessage(string serverName, string applicationName, StateMessageType type, DateTime sent)
Parameters
Type | Name | Description |
---|---|---|
System.String | serverName | Name of the server. |
System.String | applicationName | Name of the application. |
StateMessageType | type | The message type. |
System.DateTime | sent | The time when the message was sent. |
Properties
ApplicationName
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets the name of the application (AppDomain) that this message origins from.
Declaration
public string ApplicationName { get; }
Property Value
Type | Description |
---|---|
System.String |
Sent
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets the date when this message was sent.
Declaration
public DateTime Sent { get; }
Property Value
Type | Description |
---|---|
System.DateTime |
ServerName
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets the name of the server that this message origins from.
Declaration
public string ServerName { get; }
Property Value
Type | Description |
---|---|
System.String |
Type
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets the type of message that was sent.
Declaration
public StateMessageType Type { get; }
Property Value
Type | Description |
---|---|
StateMessageType |
Methods
ToString()
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Returns a System.String that represents this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents this instance. |