Class MonitoringActivity
Represents a single monitoring activity.
Inherited Members
Namespace: Nevatech.Vsb.Repository.Entities
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class MonitoringActivity : IValidator, IExtensibleDataObject
  Constructors
MonitoringActivity()
Initializes a new instance of MonitoringActivity object.
Declaration
public MonitoringActivity()
  Properties
ActivityDateTime
Gets or sets the monitoring activity date and time in UTC.
Declaration
public DateTime ActivityDateTime { get; set; }
  Property Value
| Type | Description | 
|---|---|
| DateTime | 
ActivityDetails
Gets or sets the activity details (optional).
Declaration
public string ActivityDetails { get; set; }
  Property Value
| Type | Description | 
|---|---|
| String | 
ActivityMessage
Gets or sets the activity message.
Declaration
public string ActivityMessage { get; set; }
  Property Value
| Type | Description | 
|---|---|
| String | 
Created
Gets this object's created date and time.
Declaration
public DateTime Created { get; }
  Property Value
| Type | Description | 
|---|---|
| DateTime | 
EndpointId
Gets or sets the endpoint id (optional).
Declaration
public int? EndpointId { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Nullable<Int32> | 
EndpointName
Gets the endpoint name.
Declaration
public string EndpointName { get; }
  Property Value
| Type | Description | 
|---|---|
| String | 
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).
Declaration
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
public long Id { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Int64 | 
IsTraceMessage
Gets flag indicating that activity contains a trace message.
Declaration
public bool IsTraceMessage { get; }
  Property Value
| Type | Description | 
|---|---|
| Boolean | 
NodeId
Gets or sets the node id.
Declaration
public int NodeId { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Int32 | 
NodeInstanceId
Gets or sets identifier of the node instance that reported this activity.
Declaration
public int NodeInstanceId { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Int32 | 
NodeInstanceName
Gets the node instance name.
Declaration
public string NodeInstanceName { get; }
  Property Value
| Type | Description | 
|---|---|
| String | 
NodeName
Gets the node friendly name.
Declaration
public string NodeName { get; }
  Property Value
| Type | Description | 
|---|---|
| String | 
ServiceVersionId
Gets or sets the service version id (optional).
Declaration
public int? ServiceVersionId { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Nullable<Int32> | 
ServiceVersionName
Gets the service version friendly name.
Declaration
public string ServiceVersionName { get; }
  Property Value
| Type | Description | 
|---|---|
| String | 
Severity
Gets or sets the monitoring activity severity level.
Declaration
public Severity Severity { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Severity | 
TransactionId
Gets or sets the transaction id (optional).
Declaration
public Guid? TransactionId { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Nullable<Guid> | 
Updated
Gets this object's updated date and time.
Declaration
public DateTime? Updated { get; }
  Property Value
| Type | Description | 
|---|---|
| Nullable<DateTime> | 
Methods
GetSize()
Calculates and returns approximate size of the serialized to XML instance.
Declaration
public int GetSize()
  Returns
| Type | Description | 
|---|---|
| Int32 | Approximate size of the serialized to XML instance.  | 
      
ToString()
Returns a string that represents the current monitoring activity.
Declaration
public override string ToString()
  Returns
| Type | Description | 
|---|---|
| String | String that represents the current monitoring activity.  | 
      
Overrides
Validate()
Evaluates the state of this object.
Declaration
public bool Validate()
  Returns
| Type | Description | 
|---|---|
| Boolean | True if state is valid; otherwise, false.  |