Show / Hide Table of Contents

    Class AlertHandlerType

    Provides information about a type implementing IAlertHandler used to process system alerts.

    Inheritance
    Object
    DomainObjectBase
    AlertHandlerType
    Implements
    IValidator
    IExtensibleDataObject
    IEquatable<AlertHandlerType>
    Inherited Members
    DomainObjectBase.IsValidElementName(String)
    DomainObjectBase.AreEqual(Nullable<DateTime>, Nullable<DateTime>)
    DomainObjectBase.Equals(DomainObjectBase)
    DomainObjectBase.Id
    DomainObjectBase.Key
    DomainObjectBase.Created
    DomainObjectBase.Updated
    DomainObjectBase.IsMajorObject
    DomainObjectBase.ErrorMessage
    DomainObjectBase.ExtensionData
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Nevatech.Vsb.Repository.Entities
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    public sealed class AlertHandlerType : DomainObjectBase, IValidator, IExtensibleDataObject, IEquatable<AlertHandlerType>

    Constructors

    AlertHandlerType()

    Declaration
    public AlertHandlerType()

    Fields

    Command

    Identifier of the alert handler that starts Windows process or execute command providing alert(s) details as arguments and/or in standard input.

    Declaration
    public const int Command = 2
    Field Value
    Type Description
    Int32

    EventLog

    Identifier of the alert handler which writes alert information into Windows Event Log.

    Declaration
    public const int EventLog = 3
    Field Value
    Type Description
    Int32

    Smtp

    Identifier of the alert handler which sends information about alert or group of alerts in e-mail message.

    Declaration
    public const int Smtp = 1
    Field Value
    Type Description
    Int32

    Properties

    Configuration

    Gets or sets the alert handler's default configuration to be shown on the alert handler's configuration screen.

    Declaration
    public string Configuration { get; set; }
    Property Value
    Type Description
    String

    FullyQualifiedTypeName

    Gets or sets the fully qualified type name of the class that implements IAlertHandler interface.

    Declaration
    public string FullyQualifiedTypeName { get; set; }
    Property Value
    Type Description
    String

    Name

    Gets or sets the handler's friendly name.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    String

    ObjectType

    Gets object type identifier.

    Declaration
    public override EntityType ObjectType { get; }
    Property Value
    Type Description
    EntityType
    Overrides
    DomainObjectBase.ObjectType

    Methods

    CreateAlertHandler()

    Returns new instance of the IAlertHandler type configured in this object.

    Declaration
    public IAlertHandler CreateAlertHandler()
    Returns
    Type Description
    IAlertHandler

    New instance of the IAlertHandler type configured in this object.

    Equals(AlertHandlerType)

    Determines whether the specified object is equal to the current object.

    Declaration
    public bool Equals(AlertHandlerType other)
    Parameters
    Type Name Description
    AlertHandlerType other

    The object to compare with the current object.

    Returns
    Type Description
    Boolean

    True, if objects are equal. False, if objects are not equal.

    Equals(Object)

    Determines whether the specified object is equal to the current object.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj

    The object to compare with the current object.

    Returns
    Type Description
    Boolean

    True, if objects are equal. False, if objects are not equal.

    Overrides
    DomainObjectBase.Equals(Object)

    GetHashCode()

    Returns the hash code for this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    Hash code of the current instance.

    Overrides
    DomainObjectBase.GetHashCode()

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    A string that represents the current object.

    Overrides
    DomainObjectBase.ToString()

    Validate()

    Evaluates the state of this object.

    Declaration
    public override bool Validate()
    Returns
    Type Description
    Boolean

    True if state is valid; otherwise, false.

    Overrides
    DomainObjectBase.Validate()

    Implements

    IValidator
    System.Runtime.Serialization.IExtensibleDataObject
    System.IEquatable<T>
    Back to top Nevatech Sentinet 6.5 Online Documentation