Spécifie les types de sécurité utilisables avec la WebHttpRelayBinding.
Espace de noms : Microsoft.ServiceBus
Assembly : Microsoft.ServiceBus (en Microsoft.ServiceBus.dll)
Service Bus supports only Full Trust code access security.
is used in the WebHttpRelayBinding constructors to set the security mode. As such, it is usually used at the beginning of an application, before the binding is used to connect to the Service Bus. Functionally, is very similar to EndToEndSecurityMode, and serves a similar role. The main difference is that the WebHttpRelayBinding has slightly different possible security settings, and so requires different options.
For more information on security issues, see the Security and Protection section, as well as Securing and Authenticating an AppFabric Service Bus Connection. For more information on initializing a binding for a service application or client application, see Building a Service for the AppFabric Service Bus and Building an AppFabric Service Bus Client Application.