Show / Hide Table of Contents

    Class CommandAlertHandlerConfiguration

    Represents configuration for CommandAlertHandler - the handler that allows to execute a process when new alert(s) coming.

    Inheritance
    Object
    CommandAlertHandlerConfiguration
    Implements
    IValidator
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Nevatech.Vsb.Repository.Alerts
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    public sealed class CommandAlertHandlerConfiguration : IValidator

    Constructors

    CommandAlertHandlerConfiguration()

    Initializes new instance with default configuration.

    Declaration
    public CommandAlertHandlerConfiguration()

    Properties

    ArgumentsTemplate

    Gets or sets the set of command-line arguments to use when starting the application.

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

    Domain

    Gets or sets a value that identifies the domain to use when starting the process.

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

    ErrorMessage

    Gets the message indicating the errors found during validation process.

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

    ExecutionMode

    Gets or sets the mode defining how many times the command is executed.

    Declaration
    public CommandExecutionMode ExecutionMode { get; set; }
    Property Value
    Type Description
    CommandExecutionMode

    ExecutionTimeout

    Gets or sets the maximum time of command execution. If process executes more, it will be terminated.

    Declaration
    public TimeSpan ExecutionTimeout { get; set; }
    Property Value
    Type Description
    TimeSpan

    FileName

    Gets or sets the application to start.

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

    InputFooter

    Gets or sets string to be supplied last to standard input of the process.

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

    InputHeader

    Gets or sets string to be supplied first to standard input of the process.

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

    InputTemplate

    Gets or sets string to be supplied to standard input of the process for each alert.

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

    LoadUserProfile

    Gets or sets a falg that indicates whether the Windows user profile is to be loaded from the registry.

    Declaration
    public bool LoadUserProfile { get; set; }
    Property Value
    Type Description
    Boolean

    Password

    Gets or sets a secure string that contains the user password to use when starting the process.

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

    UserName

    Gets or sets the user name to be used when starting the process.

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

    WorkingDirectory

    Gets or sets the initial directory for the process to be started.

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

    Methods

    Validate()

    Evaluates the state of the object.

    Declaration
    public bool Validate()
    Returns
    Type Description
    Boolean

    True if state is valid; otherwise, false.

    Implements

    IValidator
    Back to top Nevatech Sentinet 6.5 Online Documentation