SALES: 1-800-867-1380

SubscriptionClient.CreateFromConnectionString Method (String, String, String, ReceiveMode)

Creates a new copy of SubscriptionClient from a connection string with specified topic path, name and mode.

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

'Declaration
Public Shared Function CreateFromConnectionString ( _
	connectionString As String, _
	topicPath As String, _
	name As String, _
	mode As ReceiveMode _
) As SubscriptionClient
'Usage
Dim connectionString As String
Dim topicPath As String
Dim name As String
Dim mode As ReceiveMode
Dim returnValue As SubscriptionClient

returnValue = SubscriptionClient.CreateFromConnectionString(connectionString, _
	topicPath, name, mode)

Parameters

connectionString
Type: System.String
The connection string.
topicPath
Type: System.String
The full pathname of the topic.
name
Type: System.String
The name of the subscription.
mode
Type: Microsoft.ServiceBus.Messaging.ReceiveMode
The message receive mode.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft