Click or drag to resize

Message Class

Abstract base class which is used to define message classes for reporting a message to observers for visualization to the user. A message can be an error, warning or a normal message.
Inheritance Hierarchy

Namespace:  SD.LLBLGen.Pro.ApplicationCore.MessageReporting
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.4.0.0 (5.4.0)
Syntax
public abstract class Message : INotifyPropertyChanged

The Message type exposes the following members.

Constructors
  NameDescription
Protected methodMessage
Initializes a new instance of the Message class.
Top
Properties
  NameDescription
Public propertyCreatedOn
Gets the creation date/time
Public propertyMessageText
Gets the message text
Public propertySource
Gets the source of the message
Public propertyTagCount
Gets the tag count.
Public propertyTypeOfMessage
Gets the type of the message.
Public propertyTypeOfMessageAsInt
Gets the integer value of TypeOfMessage. For databinding.
Top
Methods
  NameDescription
Public methodAddTag
Adds the tag specified to this message.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasTags
Determines whether this message has any of the specified tags assigned to it.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnHandled
Raises the Handled event
Protected methodOnPropertyChanged
Called when a property changed which was worth a notification
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventPropertyChanged
Occurs when a property value changes.
Top
See Also