Search Results for

    Show / Hide Table of Contents

    Class MonitoringRecord

    Represents a single monitoring record.

    Inheritance
    object
    MonitoringRecord
    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 = "Record")]
    public sealed class MonitoringRecord : IValidator, IExtensibleDataObject

    Constructors

    MonitoringRecord()

    Initializes a new instance of MonitoringRecord object.

    Declaration
    public MonitoringRecord()

    Properties

    Created

    Gets this object's created date and time.

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

    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.

    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

    Id

    Gets or sets this domain object's id.

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

    IsFault

    Gets or sets the fault flag.

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

    IsOutbound

    Gets the flag indicating that message was recorded in an outbound endpoint.

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

    IsRequest

    Gets flag indicating that recorded content belongs to a request message.

    Declaration
    public bool IsRequest { get; }
    Property Value
    Type Description
    bool

    NodeId

    Gets or sets the node id.

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

    RecordedMessage

    Gets or sets the recorded message.

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

    RecordedMessageSize

    Gets or sets the recorded message size.

    Declaration
    [DataMember(Name = "Size")]
    public long RecordedMessageSize { get; set; }
    Property Value
    Type Description
    long

    RecordingDateTime

    Gets or sets the recording date and time in UTC.

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

    RecordingPoint

    Gets or sets the point where message was recorded.

    Declaration
    [DataMember(Name = "Point")]
    public RecordingPoints RecordingPoint { get; set; }
    Property Value
    Type Description
    RecordingPoints

    TransportData

    Gets or sets recorded transport level properties (like HTTP headers, context properties, etc).

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

    Updated

    Gets this object's updated date and time.

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

    Methods

    Create(string, int, int, RecordingPoints, bool, string, string)

    Creates new monitoring record populated with provided data.

    Declaration
    public static MonitoringRecord Create(string exchangeId, int nodeId, int endpointId, RecordingPoints recordingPoint, bool isFault, string message, string transportData)
    Parameters
    Type Name Description
    string exchangeId

    Identifier of the message exchange this record belongs to.

    int nodeId

    Identifier of the node that recorded the message.

    int endpointId

    Identifier of the endpoint where message was recorded.

    RecordingPoints recordingPoint

    The place in the endpoint where message was recorded.

    bool isFault

    Flag indicating that message is SOAP fault.

    string message

    Message content.

    string transportData

    Optional transport headers (like HTTP headers).

    Returns
    Type Description
    MonitoringRecord

    Monitoring record populated with provided data.

    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 message record.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    String that represents the current message record.

    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.

    Implements

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