SaaS CMS has officially launched! Learn more now.

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
System.Object
StateMessage
Inherited Members
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.Events.Clients.Internal
Assembly: EPiServer.Events.dll
Version: 11.20.7
Syntax
[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.

Overrides
System.Object.ToString()

Extension Methods