SALES: 1-800-867-1380
Microsoft Azure
Collapse the table of content
Expand the table of content

NetOnewayRelayBinding Constructor (EndToEndSecurityMode, RelayClientAuthenticationType)

 

Initializes a new instance of the NetOnewayRelayBinding class, using the specified security mode and authentication type.

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

public NetOnewayRelayBinding(
	EndToEndSecurityMode securityMode,
	RelayClientAuthenticationType relayClientAuthenticationType
)

Parameters

securityMode
Type: Microsoft.ServiceBus.EndToEndSecurityMode

The security mode.

relayClientAuthenticationType
Type: Microsoft.ServiceBus.RelayClientAuthenticationType

The authentication type.

relayClientAuthenticationType controls whether clients of a service are required to present a security token issued by the Azure Access Control service to the Azure Service Bus service when sending messages. Services (listeners) are always required to authenticate with the Azure Access Control service and present an authorization token to the 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 Azure Access Control and Azure Service Bus by setting this parameter to RelayClientAuthenticationType.None. The default value is RelayClientAuthenticationType.RelayAccessToken.

Return to top
Show:
© 2016 Microsoft