代理agent

适用于: Exchange Server 2013Applies to: Exchange Server 2013

Agent元素包含有关已安装的代理的配置信息。The agent element contains configuration information about an installed agent.

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

agentType (复杂类型)agentType (complexType)

属性和元素Attributes and elements

下面各部分介绍了属性、子元素和父元素。The following sections describe attributes, child elements, and parent elements.

AttributesAttributes

属性Attribute 说明Description
namename
安装代理时指定的名称。The name that was specified when the agent was installed. 此属性需要一个非空字符串值,最多包含64个字符。This attribute requires a nonempty string value that contains a maximum of 64 characters.
#c1baseType
代理派生的类的完整名称(包括命名空间)。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.
classFactoryclassFactory
实现代理工厂创建代理实例的类的完整名称(包括命名空间)。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. 此类必须派生自SmtpReceiveAgentFactoryRoutingAgentFactory类。This class must derive from either the SmtpReceiveAgentFactory or RoutingAgentFactory class.
assemblyPathassemblyPath
包含代理代码的程序集的完全限定路径(包括文件名)。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.
enabledenabled
一个布尔值,该值指示是否已启用代理。A Boolean value that indicates whether the agent is enabled. 如果启用了代理,则此值为true ; 否则为 false。否则,该值为falseThe value is true if the agent is enabled; otherwise, the value is false. 此特性是必需的。This attribute is required.

子元素Child elements

无。None.

父元素Parent elements

元素Element 说明Description
agentListagentList
包含每个已安装代理的代理元素。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.

另请参阅See also