Exportar (0) Imprimir
Expandir todo

WS2007HttpRelayBinding Constructor (EndToEndSecurityMode, RelayClientAuthenticationType, Boolean)

Inicializa una nueva instancia de la clase WS2007HttpRelayBinding con un tipo especificado de seguridad que usa el enlace, la autenticación especificada para la retransmisión de cliente y un valor que indica si hay habilitada una sesión fiable.

Espacio de nombres:  Microsoft.ServiceBus
Ensamblado:  Microsoft.ServiceBus (en Microsoft.ServiceBus.dll)

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

Parámetros

securityMode
Tipo: Microsoft.ServiceBus..::..EndToEndSecurityMode
Especifica el tipo de seguridad que se usa con el mensaje de SOAP y para el cliente.
relayClientAuthenticationType
Tipo: Microsoft.ServiceBus..::..RelayClientAuthenticationType
Tipo de autenticación que usa el cliente.
reliableSessionEnabled
Tipo: System..::..Boolean
true si hay habilitada una sesión fiable; en caso contrario, 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.

Adiciones de comunidad

AGREGAR
Mostrar:
© 2014 Microsoft