Class MonitoringTransactionProperty
Represents a single monitoring transaction property assigned by a custom component.
Inherited Members
Namespace: Nevatech.Vsb.Repository.Entities
Assembly: Nevatech.Vsb.Repository.dll
Syntax
[DataContract(Namespace = "http://schemas.nevatech.com/sentinet/2011/02", Name = "TranProperty")]
public sealed class MonitoringTransactionProperty : IValidator, IExtensibleDataObject
Constructors
MonitoringTransactionProperty()
Declaration
public MonitoringTransactionProperty()
Properties
EndpointId
Gets or sets the endpoint id.
Declaration
[DataMember(Name = "EpId")]
public int EndpointId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
ErrorMessage
Gets the summary of validation errors populated by the call to Validate() method.
Declaration
public string ErrorMessage { get; }
Property Value
| Type | Description |
|---|---|
| string |
ExchangeId
Gets or sets unique message exchange identifier (optional, if TransactionId is present).
Declaration
[DataMember(Name = "ExchId", EmitDefaultValue = false)]
public string ExchangeId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ExtensionData
Gets or sets ExtensionDataObject that enables serialization roundtrips.
Declaration
public ExtensionDataObject ExtensionData { get; set; }
Property Value
| Type | Description |
|---|---|
| ExtensionDataObject |
Id
Gets or sets this domain object's id.
Declaration
[DataMember(EmitDefaultValue = false)]
public long Id { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
Name
Gets or sets the property name.
Declaration
[DataMember]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TransactionId
Gets or sets unique message exchange identifier (optional, if ExchangeId is present).
Declaration
[DataMember(Name = "TranId", EmitDefaultValue = false)]
public Guid? TransactionId { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid? |
Value
Gets or sets the property value.
Declaration
[DataMember(EmitDefaultValue = false)]
public string Value { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ValueDateTime
Gets or sets the date and time when value was set.
Declaration
[DataMember(Name = "Time")]
public DateTime ValueDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Methods
GetSize()
Calculates and returns approximate size of the serialized to XML instance.
Declaration
[SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")]
public int GetSize()
Returns
| Type | Description |
|---|---|
| int | Approximate size of the serialized to XML instance. |
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | String that represents the current object. |
Overrides
Validate()
Evaluates the state of this object.
Declaration
public bool Validate()
Returns
| Type | Description |
|---|---|
| bool | True if state is valid; otherwise, false. |