Partager 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
public abstract RoutingAgent CreateAgent (
    SmtpServer server
)
public:
virtual RoutingAgent^ CreateAgent (
    SmtpServer^ server
) abstract
public abstract RoutingAgent CreateAgent (
    SmtpServer server
)
public abstract function CreateAgent (
    server : SmtpServer
) : RoutingAgent

Parameters

  • server
    The server on which the routing agent will operate.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003