Share via


RouterClient.SubscribeToRouter Method

[This is prerelease documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Namespace: Microsoft.ServiceBus
Assembly: Microsoft.ServiceBus (in microsoft.servicebus.dll)

Usage

    Dim instance As RouterClient
Dim routerClient As RouterClient
Dim requestedTimeout As TimeSpan
Dim returnValue As RouterSubscriptionClient

returnValue = instance.SubscribeToRouter(routerClient, requestedTimeout)

Syntax

'Declaration
Public Function SubscribeToRouter ( _
    routerClient As RouterClient, _
    requestedTimeout As TimeSpan _
) As RouterSubscriptionClient
public RouterSubscriptionClient SubscribeToRouter (
    RouterClient routerClient,
    TimeSpan requestedTimeout
)
public:
RouterSubscriptionClient^ SubscribeToRouter (
    RouterClient^ routerClient, 
    TimeSpan requestedTimeout
)
public RouterSubscriptionClient SubscribeToRouter (
    RouterClient routerClient, 
    TimeSpan requestedTimeout
)
public function SubscribeToRouter (
    routerClient : RouterClient, 
    requestedTimeout : TimeSpan
) : RouterSubscriptionClient

Parameters

  • routerClient
     
  • requestedTimeout
     

Return Value

Returns RouterSubscriptionClient .

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 Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000

Target Platforms

See Also

Reference

RouterClient Class
RouterClient Members
Microsoft.ServiceBus Namespace