SALES: 1-800-867-1380

WebHttpRelaySecurity Class

Specifies the types of security available to a service endpoint configured to receive HTTP requests.


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

public sealed class WebHttpRelaySecurity

The WebHttpRelaySecurity type exposes the following members.

Public propertyModeGets or sets the mode of security that is used by an endpoint configured to receive HTTP requests with a WebHttpRelayBinding.
Public propertyRelayClientAuthenticationTypeGets or sets the relay client authentication type used by the service client.
Public propertyTransportGets or sets the Transport-level security settings for a binding.

Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)

Windows Azure Service Bus supports only Full Trust code access security.

WebHttpRelaySecurity provides the security requirements for an endpoint configured with a WebHttpRelayBinding, such as EndToEndWebHttpSecurityMode, RelayClientAuthenticationType, and HttpTransportSecurity.

If the Transport value is specified by WebHttpRelayBinding(EndToEndWebHttpSecurityMode, RelayClientAuthenticationType), then the settings provided by the Transport property become effective for the service endpoint. The WebHttpRelaySecurity member of WebHttpRelayBinding can be initializes only in the WebHttpRelayBinding constructor that takes it as an explicit parameter. However, the members of WebHttpRelaySecurity can be changed after construction.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft