SALES: 1-800-867-1380

NetOnewayRelayBinding Constructor (RelayedOnewayConnectionMode, EndToEndSecurityMode, RelayClientAuthenticationType)

Initializes a new instance of the NetOnewayRelayBinding class, using the specified connection and security modes, as well as the authentication type.

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

protected NetOnewayRelayBinding(
	RelayedOnewayConnectionMode connectionMode,
	EndToEndSecurityMode securityMode,
	RelayClientAuthenticationType relayClientAuthenticationType
)

Parameters

connectionMode
Type: Microsoft.ServiceBus.RelayedOnewayConnectionMode
The connection mode.
securityMode
Type: Microsoft.ServiceBus.EndToEndSecurityMode
The type of security used with the SOAP message and for the client.
relayClientAuthenticationType
Type: Microsoft.ServiceBus.RelayClientAuthenticationType
The type of authentication used by the client.

relayClientAuthenticationType controls whether 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. 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. If the service (listener) wants to take over the responsibility of authenticating/authorizing clients, it can opt out of the integration between Windows Azure Access Control and Windows Azure Service Bus by setting this parameter to RelayClientAuthenticationType.None. The default value is RelayClientAuthenticationType.RelayAccessToken.

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

Community Additions

ADD
Show:
© 2014 Microsoft