WebHttpRelayBinding Constructor (String)
Initializes a new instance of the WebHttpRelayBinding class using the specified configuration name.
Assembly: Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
The binding can be set up administratively in a .config file. To use the constructor, refer to the binding name set in the configuration.
WebHttpRelayBinding will use the default configuration in your App.config file. Therefore, you should use only when you have multiple configurations defined and you wish to use one that is not defined as the default.
Bindings are generally initialized in the beginning of an application, and then used as part of the channel creation to connect to the Service Bus. Values on the binding are set either in the App.config file, programmatically, or else a combination of the two. Binding constructors are used by both host (listener) and client (receiver) applications. For more information, see and .