Message Class
Represents a message
Inheritance Hierarchy
SystemObject
TcHmiSrv.CoreMessage
Namespace: TcHmiSrv.Core
Assembly: TcHmiSrvExtNet.Core (in
TcHmiSrvExtNet.Core.dll) Version:
3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9
Syntax
C#
public class Message : IComparable<Message>,
ICopyable<Message>, IDeepCopyable<Message>, IShallowCopyable<Message>,
IEquatable<Message>, ILocalizableThe Message type exposes the following members.
Constructors
|
|
Name |
Description |
|---|---|---|
|
|
Initializes a new instance of the Message class. | |
|
|
Initializes a new instance of the Message class with the specified parameters. |
Properties
|
|
Name |
Description |
|---|---|---|
|
|
Contains the domain of the Message. | |
|
|
Gets a value that indicates whether the Message is set. | |
|
|
Contains the name of the language variable. | |
|
|
Gets the parameters of the localizable object. The names of the parameters must match the placeholders in the localization string. | |
|
|
Contains the Severity of the Message. | |
|
|
Contains the DateTime when the Message was raised. | |
|
|
Gets the ValueType of the localizable object that will be Message. |
Methods
|
|
Name |
Description |
|---|---|---|
|
|
Compares the current Message with another Message and returns an integer that indicates whether the current Message precedes, follows, or occurs in the same position in the sort order as the other Message. | |
|
|
Creates a new object that is a deep copy of the current Message. | |
|
|
Indicates whether the current Message is equal to another Message. | |
|
|
Determines whether the specified Object is equal to the
current Message. | |
|
|
Allows an object to try to free resources and perform other
cleanup operations before it is reclaimed by garbage
collection. | |
|
|
Serves as the default hash function. | |
|
|
Gets the Type of the current
instance. | |
|
|
Creates a shallow copy of the current Object. | |
|
|
Creates a new Message that is a shallow copy of the current Message. | |
|
|
Returns a String that represents the
Name of the
current Message. |
Operators
|
|
Name |
Description |
|---|---|---|
|
|
Determines whether two instances of the Message class are equal. | |
|
|
Determines whether the current instance of the Message class is greater than another instance. | |
|
|
Determines whether the current instance of the Message class is greater than or equal to another instance. | |
|
|
Determines whether two instances of the Message class are not equal. | |
|
|
Determines whether the current instance of the Message class is less than another instance. | |
|
|
Determines whether the current instance of the Message class is less than or equal to another instance. |
Extension Methods
|
|
Name |
Description |
|---|---|---|
|
|
Returns an unformatted JSON String that represents the
current Message. | |
|
|
Returns an unformatted JSON String that represents the
current Message. | |
|
|
Returns a JSON String that represents the
current Message. |
Version Information
Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0