[TIBCO.EMS .NET Admin client library 5.1 documentation]

Create a new route.

Namespace:  TIBCO.EMS.ADMIN
Assembly:  TIBCO.EMS.ADMIN (in TIBCO.EMS.ADMIN.dll)

Syntax

public RouteInfo CreateRoute(
	RouteInfo routeInfo
)
Public Function CreateRoute ( _
	routeInfo As RouteInfo _
) As RouteInfo
public:
RouteInfo^ CreateRoute(
	RouteInfo^ routeInfo
)

Parameters

routeInfo
Type: TIBCO.EMS.ADMIN..::.RouteInfo
The parameters for the new route.

Return Value

the fully configured RouteInfo from the server.

Exceptions

ExceptionCondition
TIBCO.EMS.ADMIN..::.AdminExceptionif not authorized or an error occurred.
System..::.ArgumentExceptionif routeInfo is null.
TIBCO.EMS.ADMIN..::.AdminInvalidNameExceptionif RouteInfo object does not have a legal name and url.

See Also