Class Alert
An alert message.
[DataContract]
public class Alert : IExtensibleDataObject
- Inheritance
-
Alert
- Implements
- Inherited Members
Constructors
Alert(int, string, bool)
Initializes a new instance of the Alert class.
public Alert(int id, string message, bool requiresAuthorization)
Parameters
id
intThe alert id.
message
stringThe alert message text.
requiresAuthorization
boolWhether this alert requires authorization to acknowledge at the workstation.
Properties
ExtensionData
Gets or sets the structure that contains extra data.
public virtual ExtensionDataObject ExtensionData { get; set; }
Property Value
Id
Gets the alert id.
[DataMember]
public int Id { get; }
Property Value
Message
Gets the alert message text.
[DataMember]
public string Message { get; }
Property Value
RequiresAuthorization
Gets whether this alert requires authorization to acknowledge at the workstation.
[DataMember]
public bool RequiresAuthorization { get; }
Property Value
Methods
ToString()
Returns the Message value as a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.