agent

The agent element contains configuration information about an installed agent.

configuration
  mexRuntime
    agentList
      agent

<agent
        name=""
        baseType=""
        classFactory=""
        assemblyPath=""
        enabled="" />
</agent>

agentType (complexType)

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

name

The name that was specified when the agent was installed. This attribute requires a nonempty string value that contains a maximum of 64 characters.

baseType

The full name, including the namespace, of the class from which the agent derives. This attribute requires a nonempty string value that contains at least one character.

classFactory

The full name, including the namespace, of the class that implements the agent factory that creates instances of the agent. This attribute must contain the fully qualified name of the class that implements the agent factory that creates instances of the agent. This class must derive from either the SmtpReceiveAgentFactory or RoutingAgentFactory class.

assemblyPath

The fully qualified path, including the file name, of the assembly that contains the code for the agent. This attribute requires a nonempty string value that contains at least one character.

enabled

A Boolean value that indicates whether the agent is enabled. The value is true if the agent is enabled; otherwise, the value is false. This attribute is required.

Child Elements

None.

Parent Elements

Element

Description

agentList

Contains an agent element for each installed agent.

Element Information

Namespace

This file does not define a namespace.

Schema Name

Not available.

Validation File

Not Available.

Can be Empty

False.