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
'Usage
Dim instance As New AgentFactory()
protected 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.