RouterClient.Subscribe Method (EndpointAddress, TimeSpan)
[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 notifyToAddress As EndpointAddress Dim requestedExpiration As TimeSpan Dim returnValue As RouterSubscriptionClient returnValue = instance.Subscribe(notifyToAddress, requestedExpiration)
Syntax
'Declaration
Public Function Subscribe ( _
notifyToAddress As EndpointAddress, _
requestedExpiration As TimeSpan _
) As RouterSubscriptionClient
public RouterSubscriptionClient Subscribe (
EndpointAddress notifyToAddress,
TimeSpan requestedExpiration
)
public:
RouterSubscriptionClient^ Subscribe (
EndpointAddress^ notifyToAddress,
TimeSpan requestedExpiration
)
public RouterSubscriptionClient Subscribe (
EndpointAddress notifyToAddress,
TimeSpan requestedExpiration
)
public function Subscribe (
notifyToAddress : EndpointAddress,
requestedExpiration : TimeSpan
) : RouterSubscriptionClient
Parameters
- notifyToAddress
- requestedExpiration
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