Exporteren (0) Afdrukken
Alles uitvouwen
EN
Deze inhoud is niet beschikbaar in uw taal, maar wel in het Engels.

WS2007HttpRelayBinding Constructor (EndToEndSecurityMode, RelayClientAuthenticationType, Boolean)

Initializes a new instance of the WS2007HttpRelayBinding class with a specified type of security used by the binding, the specified authentication for the client relay, and a value that indicates whether a reliable session is enabled.

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

public WS2007HttpRelayBinding(
	EndToEndSecurityMode securityMode,
	RelayClientAuthenticationType relayClientAuthenticationType,
	bool reliableSessionEnabled
)

Parameters

securityMode
Type: Microsoft.ServiceBus.EndToEndSecurityMode
Specifies the type of security that is used with the SOAP message and for the client.
relayClientAuthenticationType
Type: Microsoft.ServiceBus.RelayClientAuthenticationType
The type of authentication used by the client.
reliableSessionEnabled
Type: System.Boolean
true if a reliable session is enabled; otherwise, false.

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 property to RelayClientAuthenticationType.None.

A reliable session is a concept inherited from the Windows Communication Foundation (WCF) that provides end-to-end message transfer reliability between SOAP endpoints. For more information, see the Reliable Sessions Overview in the WCF documentation.

In general, you would use this constructor in the beginning of an application, before creating a connection to the Windows Azure Service Bus. You cannot change the associated security mode, authentication type, or reliable session once you have created the binding. The constructor is used by both service and client applications. For more information, see Building a Service for the AppFabric Service Bus and Building an AppFabric Service Bus Client Application Application.

Community-inhoud

Toevoegen
Weergeven:
© 2014 Microsoft