Class MonitoringProperty
Represents a monitoring transaction property value that needs to be associated with the transaction.
Inherited Members
Namespace: Nevatech.Vsb.Repository.Processing
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class MonitoringProperty : IValidator, IEquatable<MonitoringProperty>
Constructors
MonitoringProperty()
Declaration
public MonitoringProperty()
Fields
ElementName
Name of the root element when object is serialized to XML.
Declaration
public const string ElementName = "PROPERTY"
Field Value
Type | Description |
---|---|
String |
Properties
ErrorMessage
Gets the summary of validation errors populated by the call to Validate() method.
Declaration
public string ErrorMessage { get; }
Property Value
Type | Description |
---|---|
String |
Name
Gets or sets the name of the Monitoring Transaction Property. Name may contain a specially formatted Context Property name in which case the value of Context Property will be used to form the name of the Monitoring Transaction Property.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
Value
Gets or sets the new value of the monitoring transaction property. Value may contain a specially formatted Context Property name in which case the value of Context Property will be used to form the value of the Monitoring Transaction Property.
Declaration
public string Value { get; set; }
Property Value
Type | Description |
---|---|
String |
Methods
Equals(MonitoringProperty)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(MonitoringProperty other)
Parameters
Type | Name | Description |
---|---|---|
MonitoringProperty | other | The object to compare with the current object. |
Returns
Type | Description |
---|---|
Boolean | True, if objects are equal. False, if objects are not equal. |
Equals(Object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
Boolean | True, if objects are equal. False, if objects are not equal. |
Overrides
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | Hash code of the current instance. |
Overrides
ToString()
Returns string representation of the object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | String representing the object's content. |
Overrides
Validate()
Evaluates the state of this object.
Declaration
public bool Validate()
Returns
Type | Description |
---|---|
Boolean | True if state is valid; otherwise, false. |