Share via


RoutingAgentFactory.CreateAgent method

When overridden in a derived class, the CreateAgent method returns an instance of a routing agent.

Namespace:  Microsoft.Exchange.Data.Transport.Routing
Assembly:  Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)

Syntax

'Declaration
Public MustOverride Function CreateAgent ( _
    server As SmtpServer _
) As RoutingAgent
'Usage
Dim instance As RoutingAgentFactory
Dim server As SmtpServer
Dim returnValue As RoutingAgent

returnValue = instance.CreateAgent(server)
public abstract RoutingAgent CreateAgent(
    SmtpServer server
)

Parameters

Return value

Type: Microsoft.Exchange.Data.Transport.Routing.RoutingAgent

See also

Reference

RoutingAgentFactory class

RoutingAgentFactory members

Microsoft.Exchange.Data.Transport.Routing namespace