SALES: 1-800-867-1380

NetOnewayRelayBinding Constructor

Initializes a new instance of the NetOnewayRelayBinding class.

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

public NetOnewayRelayBinding()

The default end-to-end security mode is EndToEndSecurityMode.Transport, which indicates that the SOAP message is secured with SSL. The default client authentication type is RelayClientAuthenticationType.RelayAccessToken, which indicates that clients of a service are required to present a security token issued by the Windows Azure Access Control service to the Windows Azure Service Bus service when sending messages. Note that services (listeners) are always required to authenticate with the Windows Azure Access Control service and present an authorization token to the Windows Azure Service Bus. The default connection mode is unicast, indicating that there is only one listener (host) application.

If you have a default configuration defined in your App.config file, NetOnewayRelayBinding() will use that configuration. If you have multiple configurations in your App.config file and wish to use a particular one, you may need to use NetOnewayRelayBinding(String) instead.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft