Search Results for

    Show / Hide Table of Contents

    Class MonitoringTransaction

    Represents a single transaction reported from an endpoint.

    Inheritance
    object
    MonitoringTransaction
    Implements
    IValidator
    IExtensibleDataObject
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Nevatech.Vsb.Repository.Entities
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    [DataContract(Namespace = "http://schemas.nevatech.com/sentinet/2011/02", Name = "Tran")]
    public sealed class MonitoringTransaction : IValidator, IExtensibleDataObject

    Constructors

    MonitoringTransaction()

    Initializes a new instance of MonitoringTransaction object.

    Declaration
    public MonitoringTransaction()

    Properties

    ApplicationId

    Gets or sets the identifier of the consumer application that initiated the transaction.

    Declaration
    [DataMember(Name = "AppId", EmitDefaultValue = false)]
    public int? ApplicationId { get; set; }
    Property Value
    Type Description
    int?

    AuthorizationRuleId

    Gets or sets identifier of the authorization rule that matched the transaction and subsequently permitted or denied access to the service. If not set, then no rules matched the transaction.

    Declaration
    [DataMember(Name = "AuthId", EmitDefaultValue = false)]
    public int? AuthorizationRuleId { get; set; }
    Property Value
    Type Description
    int?

    ClientAddress

    Gets or sets the service caller's IP address and port number for TCP-based communication.

    Declaration
    [DataMember(Name = "Client", EmitDefaultValue = false)]
    public string ClientAddress { get; set; }
    Property Value
    Type Description
    string

    Created

    Gets this object's created date and time.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public DateTime Created { get; }
    Property Value
    Type Description
    DateTime

    Duration

    Gets duration of this transaction in milliseconds.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public int Duration { get; }
    Property Value
    Type Description
    int
    Remarks

    The maximum transaction duration is limited to approximately 600 hours.

    EndDateTime

    Gets or sets the start date and time of this transaction.

    Declaration
    [DataMember(Name = "End")]
    public DateTime EndDateTime { get; set; }
    Property Value
    Type Description
    DateTime

    EndpointId

    Gets or sets identifier of the endpoint that reported this transaction.

    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 the unique identifier of a pair of request-response messages (if WS-Addressing is enabled, that should be MessageId or ReplyTo value).

    Declaration
    [DataMember(Name = "ExchId")]
    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

    FaultDetail

    Gets or sets transaction error details.

    Declaration
    [DataMember(Name = "ErrorDetail", EmitDefaultValue = false)]
    public string FaultDetail { get; set; }
    Property Value
    Type Description
    string

    FaultReason

    Gets or sets transaction error message.

    Declaration
    [DataMember(Name = "Error", EmitDefaultValue = false)]
    public string FaultReason { get; set; }
    Property Value
    Type Description
    string

    HttpStatusCode

    Gets or sets the HTTP response status code for HTTP-based communication.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public int? HttpStatusCode { get; set; }
    Property Value
    Type Description
    int?

    Id

    Gets or sets this domain object's id.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public long Id { get; set; }
    Property Value
    Type Description
    long

    IdentityClaims

    Gets or sets identity presented by the client.

    Declaration
    [DataMember(Name = "Claims", EmitDefaultValue = false)]
    public string IdentityClaims { get; set; }
    Property Value
    Type Description
    string

    IsDenied

    Gets or sets flag indicating that transaction has been denied by the matching authorization rule or user-provided authorization manager.

    Declaration
    [DataMember(Name = "Denied", EmitDefaultValue = false)]
    public bool IsDenied { get; set; }
    Property Value
    Type Description
    bool

    NodeId

    Gets or sets identifier of the node that reported this transaction.

    Declaration
    [DataMember]
    public int NodeId { get; set; }
    Property Value
    Type Description
    int

    NodeInstanceId

    Gets or sets identifier of the node instance that reported this transaction.

    Declaration
    [DataMember(Name = "InId")]
    public int NodeInstanceId { get; set; }
    Property Value
    Type Description
    int

    OperationId

    Gets or sets the operation id of this transaction (can be Null for handshake messages).

    Declaration
    [DataMember(Name = "OpId", EmitDefaultValue = false)]
    public int? OperationId { get; set; }
    Property Value
    Type Description
    int?

    RequestAction

    Gets or sets the request message Action string.

    Declaration
    [DataMember(Name = "Action", EmitDefaultValue = false)]
    public string RequestAction { get; set; }
    Property Value
    Type Description
    string

    RequestSize

    Gets or sets size of the request message in bytes.

    Declaration
    [DataMember(Name = "ReqS", EmitDefaultValue = false)]
    public long? RequestSize { get; set; }
    Property Value
    Type Description
    long?

    ResponseSize

    Gets or sets size of the response message in bytes.

    Declaration
    [DataMember(Name = "ResS", EmitDefaultValue = false)]
    public long? ResponseSize { get; set; }
    Property Value
    Type Description
    long?

    ServiceAgreements

    Gets collection of the service agreements identifiers that transaction is a part of.

    Declaration
    [DataMember(Name = "SlaTrans")]
    public Collection<ServiceAgreementTransaction> ServiceAgreements { get; }
    Property Value
    Type Description
    Collection<ServiceAgreementTransaction>

    StartDateTime

    Gets or sets the start date and time of this transaction in UTC.

    Declaration
    [DataMember(Name = "Start", EmitDefaultValue = false)]
    public DateTime? StartDateTime { get; set; }
    Property Value
    Type Description
    DateTime?

    Status

    Gets or sets transaction status indicating the processing result.

    Declaration
    [DataMember]
    public TransactionStatus Status { get; set; }
    Property Value
    Type Description
    TransactionStatus

    TransactionId

    Gets or sets unique business transaction identifier.

    Declaration
    [DataMember(Name = "TranId", EmitDefaultValue = false)]
    public Guid? TransactionId { get; set; }
    Property Value
    Type Description
    Guid?

    Updated

    Gets this object's updated date and time.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public DateTime? Updated { get; }
    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.

    Merge(MonitoringTransaction)

    Copies values from populated properties of the provided transaction to the current one.

    Declaration
    [SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
    public void Merge(MonitoringTransaction transaction)
    Parameters
    Type Name Description
    MonitoringTransaction transaction

    Transaction instance that needs to be merged with the current one.

    ToString()

    Returns a string that represents the current monitoring transaction.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    String that represents the current monitoring transaction.

    Overrides
    object.ToString()

    Validate()

    Evaluates the state of this object.

    Declaration
    public bool Validate()
    Returns
    Type Description
    bool

    True if state is valid; otherwise, false.

    Validate(bool)

    Evaluates the state of this object.

    Declaration
    public bool Validate(bool createNew)
    Parameters
    Type Name Description
    bool createNew

    Flag indicating that record is intended for database insert (new transaction).

    Returns
    Type Description
    bool

    True if state is valid; otherwise, false.

    Implements

    IValidator
    IExtensibleDataObject
    In This Article
    Back to top Nevatech Sentinet 6.7 Online Documentation