Class MonitoringActivitiesRequest
Defines parameters for GetActivities(MonitoringActivitiesRequest) method.
Inheritance
Implements
Inherited Members
Namespace: Nevatech.Vsb.Repository.Entities
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class MonitoringActivitiesRequest : IValidator
Constructors
MonitoringActivitiesRequest()
Declaration
public MonitoringActivitiesRequest()
Properties
ActivityMessage
Gets or sets the string to be found in the activity message (wildcards are allowed). If not set then activities are not filtered by the message.
Declaration
public string ActivityMessage { get; set; }
Property Value
Type | Description |
---|---|
System.String |
EndDateTime
Gets or sets the latest creation time (in UTC) of an activity record to be returned. If not set then the result set is not limited from the top.
Declaration
public DateTime? EndDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
ErrorMessage
Gets validation error message.
Declaration
public string ErrorMessage { get; }
Property Value
Type | Description |
---|---|
System.String |
IgnoreTransactionActivities
Gets or sets the flag indicating that activities associated with monitoring transactions should NOT be included in the result. This flag cannot be set, if TransactionId property is populated.
Declaration
public bool IgnoreTransactionActivities { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
MinimumSeverity
Gets or sets the highest severity level of an activity record to be returned. Default is Error.
Declaration
public Severity MinimumSeverity { get; set; }
Property Value
Type | Description |
---|---|
Severity |
NodeId
Gets or sets the identifier of the node that reported activity records. If not set then records from all nodes are returned.
Declaration
public int? NodeId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
NodeInstanceId
Gets or sets the identifier of the node instance that reported activity records. If not set then records from all node instances are returned.
Declaration
public int? NodeInstanceId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
ServiceVersionId
Gets or sets the identifier of the service version that activity records are bound to. If not set then records are not limited to a specific service version.
Declaration
public int? ServiceVersionId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
SortField
Gets or sets the field that result will be sorted by.
Declaration
public MonitoringActivitySortField SortField { get; set; }
Property Value
Type | Description |
---|---|
MonitoringActivitySortField |
SortOrder
Gets or sets the result sort order.
Declaration
public SortOrder SortOrder { get; set; }
Property Value
Type | Description |
---|---|
SortOrder |
StartDateTime
Gets or sets the earliest creation time (in UTC) of an activity record to be returned.
Declaration
public DateTime StartDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
TransactionId
Gets or sets the transaction identifier associated with an activity record to be returned. Note that if Transaction Id is provided then all other properties are ignored and search is performed by this transaction alone.
Declaration
public Guid? TransactionId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
Methods
Validate()
Validates object properties returns the result.
Declaration
public bool Validate()
Returns
Type | Description |
---|---|
System.Boolean | True, if object state is valid. False, if one or more properties have invalid values. |