Class MonitoringProperty
Represents a monitoring transaction property value that needs to be associated with the transaction.
Inheritance
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 | 
|---|---|
| System.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 | 
|---|---|
| System.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 | 
|---|---|
| System.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 | 
|---|---|
| System.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 | 
|---|---|
| System.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 | 
|---|---|---|
| System.Object | obj | The object to compare with the current object.  | 
      
Returns
| Type | Description | 
|---|---|
| System.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 | 
|---|---|
| System.Int32 | Hash code of the current instance.  | 
      
Overrides
ToString()
Returns string representation of the object.
Declaration
public override string ToString()
  Returns
| Type | Description | 
|---|---|
| System.String | String representing the object's content.  | 
      
Overrides
Validate()
Evaluates the state of this object.
Declaration
public bool Validate()
  Returns
| Type | Description | 
|---|---|
| System.Boolean | True if state is valid; otherwise, false.  |