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