Export (0) Print
Expand All

WebHttpRelaySecurityElement Class

Represents a configuration element that configures the security for a Web HTTP service through the Windows Azure Service Bus relay.

System.Object
  System.Configuration.ConfigurationElement
    Microsoft.ServiceBus.Configuration.WebHttpRelaySecurityElement

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

public sealed class WebHttpRelaySecurityElement : ConfigurationElement

The WebHttpRelaySecurityElement type exposes the following members.

  NameDescription
Public methodWebHttpRelaySecurityElementInitializes a new instance of the WebHttpRelaySecurityElement class.
Top

  NameDescription
Public propertyCurrentConfiguration (Inherited from ConfigurationElement.)
Public propertyElementInformation (Inherited from ConfigurationElement.)
Protected propertyElementProperty (Inherited from ConfigurationElement.)
Protected propertyItem[ConfigurationProperty] (Inherited from ConfigurationElement.)
Protected propertyItem[String] (Inherited from ConfigurationElement.)
Public propertyLockAllAttributesExcept (Inherited from ConfigurationElement.)
Public propertyLockAllElementsExcept (Inherited from ConfigurationElement.)
Public propertyLockAttributes (Inherited from ConfigurationElement.)
Public propertyLockElements (Inherited from ConfigurationElement.)
Public propertyLockItem (Inherited from ConfigurationElement.)
Public propertyModeGets or sets the security mode used by the binding.
Protected propertyProperties (Inherited from ConfigurationElement.)
Public propertyRelayClientAuthenticationTypeGets or sets the relay client authentication type used by the service client.
Public propertyTransportGets a configuration element that indicates the transport-level security settings for a service endpoint configured to receive HTTP requests.
Top

  NameDescription
Protected methodDeserializeElement (Inherited from ConfigurationElement.)
Public methodEquals (Inherited from ConfigurationElement.)
Public methodGetHashCode (Inherited from ConfigurationElement.)
Public methodGetType (Inherited from Object.)
Protected methodInit (Inherited from ConfigurationElement.)
Protected methodInitializeDefault (Inherited from ConfigurationElement.)
Protected methodIsModified (Inherited from ConfigurationElement.)
Public methodIsReadOnly (Inherited from ConfigurationElement.)
Protected methodReset (Inherited from ConfigurationElement.)
Protected methodResetModified (Inherited from ConfigurationElement.)
Protected methodSerializeElement (Inherited from ConfigurationElement.)
Protected methodSerializeToXmlElement (Inherited from ConfigurationElement.)
Protected methodSetReadOnly (Inherited from ConfigurationElement.)
Public methodToString (Inherited from Object.)
Protected methodUnmerge (Inherited from ConfigurationElement.)
Top

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

This type is used by Windows Azure Service Bus to read information from an App.config file and create the corresponding binding. You can also access the security settings programmatically, through WebHttpRelaySecurity. As such, you will not likely to use WebHttpRelaySecurityElement directly, but instead use it indirectly whenever you configure a binding in an App.config file. For more information on setting Windows Azure Service Bus configuration values, see Configuring an AppFabric Service Bus Application.

However, you can use WebHttpRelaySecurityElement to create your own custom relay bindings, based on WebHttpRelaySecurity. Custom bindings are optimized collections of transport, encoding, and security elements, along with other features. For more information, see Creating a Custom AppFabric Service Bus Binding.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft