Message Methods

The Message type exposes the following members.

Methods

 

Name

Description

Message Methods 1:

CompareTo

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.

Message Methods 2:

DeepCopy

Creates a new object that is a deep copy of the current Message.

Message Methods 3:

Equals(Object)

Determines whether the specified Object is equal to the current Message. (Overrides Object.Equals(Object).)

Message Methods 4:

Equals(Message)

Indicates whether the current Message is equal to another Message.

Message Methods 5:

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Message Methods 6:

GetHashCode

Serves as the default hash function. (Overrides Object.GetHashCode..)

Message Methods 7:

GetType

Gets the Type of the current instance. (Inherited from Object.)

Message Methods 8:

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Message Methods 9:

ShallowCopy

Creates a new Message that is a shallow copy of the current Message.

Message Methods 10:

ToString

Returns a String that represents the Name of the current Message. (Overrides Object.ToString..)

Extension Methods

 

Name

Description

Message Methods 11:

ToJson.

Overloaded.

Returns an unformatted JSON String that represents the current Message. (Defined by MessageExtensions.)

Message Methods 12:

ToJson(Boolean)

Overloaded.

Returns an unformatted JSON String that represents the current Message. (Defined by MessageExtensions.)

Message Methods 13:

ToJson(Boolean, Boolean)

Overloaded.

Returns a JSON String that represents the current Message. (Defined by MessageExtensions.)

Reference

Message Class

TcHmiSrv.Core Namespace