CreateFromConnectionString Method (String, String)
EN
Dette indhold er ikke tilgængeligt på dit sprog, men her er den engelske version.

QueueClient.CreateFromConnectionString Method (String, String)

 

Creates a new copy of QueueClient from a connection string with the specified queue path. Use this overload only when the connection string does not use the EntityPath property.

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

public static QueueClient CreateFromConnectionString(
	string connectionString,
	string path
)

Parameters

connectionString
Type: System.String

The connection string used.

path
Type: System.String

The path to the queue.

Exception Condition
ArgumentException

Thrown when the format of the connectionString parameter is incorrect.

This method should only be used with a connection string that has namespace-level authentication, because the specified connection string cannot have entity level information associated with it.

Return to top
Vis:
© 2016 Microsoft