AgentFactory Constructor
The AgentFactory constructor initializes a new instance of the AgentFactory class.
Namespace: Microsoft.Exchange.Data.Transport
Assembly: Microsoft.Exchange.Data.Transport (in microsoft.exchange.data.transport.dll)
Syntax
'Declaration
Protected Sub New
protected AgentFactory ()
protected:
AgentFactory ()
protected AgentFactory ()
protected function AgentFactory ()
Remarks
The transport service waits 90 seconds for the shutdown process to finish before it performs a hard exit. If the Close method has not been called or has not finished before the hard exit, the cleanup for your agent will be incomplete. You should perform cleanup in both the Close method and the AgentFactory constructor for your agent.
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,
Target Platforms
Windows Server 2003
See Also