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.
Assembly: Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
protected NetOnewayRelayBinding( RelayedOnewayConnectionMode connectionMode, EndToEndSecurityMode securityMode, RelayClientAuthenticationType relayClientAuthenticationType )
- Type: Microsoft.ServiceBus.RelayedOnewayConnectionMode
The connection mode.
- Type: Microsoft.ServiceBus.EndToEndSecurityMode
The type of security used with the SOAP message and for the client.
- 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.