Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

HttpRelayTransportElement Class

Represents a configuration element that specifies an HTTP transport for transmitting SOAP messages.

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

public class HttpRelayTransportElement : TransportElement

The HttpRelayTransportElement type exposes the following members.

  NameDescription
Public methodHttpRelayTransportElementInitializes a new instance of the HttpRelayTransportElement class.
Top

  NameDescription
Public propertyAllowCookiesGets or sets a value from the configuration file that indicates whether the client accepts cookies and propagates them on future requests.
Public propertyBindingElementTypeGets the type of binding. (Overrides BindingElementExtensionElement.BindingElementType.) (Overrides BindingElementExtensionElement.BindingElementType.)
Public propertyConfigurationElementName (Inherited from ServiceModelExtensionElement.)
Public propertyCurrentConfiguration (Inherited from ConfigurationElement.)
Public propertyElementInformation (Inherited from ConfigurationElement.)
Protected propertyElementProperty (Inherited from ConfigurationElement.)
Protected propertyEvaluationContext (Inherited from ConfigurationElement.)
Protected propertyHasContext (Inherited from ConfigurationElement.)
Public propertyIsDynamicGets or sets whether the relay binding is dynamic.
Protected propertyItem[ConfigurationProperty] (Inherited from ConfigurationElement.)
Protected propertyItem[String] (Inherited from ConfigurationElement.)
Public propertyKeepAliveEnabledGets or sets a Boolean value from the configuration file that indicates whether to make a persistent connection to the internet resource.
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 propertyManualAddressing (Inherited from TransportElement.)
Public propertyMaxBufferPoolSize (Inherited from TransportElement.)
Public propertyMaxBufferSizeGets or sets the maximum size of the buffer pool from the configuration file.
Public propertyMaxReceivedMessageSize (Inherited from TransportElement.)
Protected propertyPropertiesGets a ConfigurationPropertyCollection instance that contains a collection of ConfigurationProperty objects that can be attributes or ConfigurationElement objects of this configuration element. (Overrides TransportElement.Properties.) (Overrides TransportElement.Properties.)
Public propertyProxyAddressGets or sets a URI in the configuration file that contains the address of the proxy to use for HTTP requests.
Public propertyProxyAuthenticationSchemeGets or sets the authentication scheme used to authenticate client requests that are processed by the HTTP proxy.
Public propertyRelayClientAuthenticationTypeGets or sets the relay client authentication type stored in the configuration file.
Public propertyTransferModeGets or sets a value from the configuration file that specifies whether messages are buffered or streamed on a request or response.
Public propertyUseDefaultWebProxyGets or sets a value from the configuration file that indicates whether the machine-wide proxy settings are used rather than the user-specific settings.
Top

  NameDescription
Public methodApplyConfigurationApplies the settings of this configuration element to the specified binding element. (Overrides TransportElement.ApplyConfiguration(BindingElement).)
Public methodCopyFromCopies the properties of the specified extension element to this configuration element. (Overrides TransportElement.CopyFrom(ServiceModelExtensionElement).)
Protected methodCreateBindingElement (Inherited from TransportElement.)
Protected methodCreateDefaultBindingElementCreates a binding element from the settings in this configuration element. (Overrides TransportElement.CreateDefaultBindingElement().)
Protected methodDeserializeElement (Inherited from ConfigurationElement.)
Public methodEquals (Inherited from ConfigurationElement.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from ConfigurationElement.)
Protected methodGetTransformedAssemblyString (Inherited from ConfigurationElement.)
Protected methodGetTransformedTypeString (Inherited from ConfigurationElement.)
Public methodGetType (Inherited from Object.)
Protected methodInit (Inherited from ConfigurationElement.)
Protected methodInitializeDefault (Inherited from ConfigurationElement.)
Protected methodInitializeFromInitializes this binding configuration element with the content of the specified binding element. (Overrides TransportElement.InitializeFrom(BindingElement).)
Protected methodIsModified (Inherited from ServiceModelExtensionElement.)
Public methodIsReadOnly (Inherited from ConfigurationElement.)
Protected methodListErrors (Inherited from ConfigurationElement.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnDeserializeUnrecognizedAttribute (Inherited from ConfigurationElement.)
Protected methodOnDeserializeUnrecognizedElement (Inherited from ConfigurationElement.)
Protected methodOnRequiredPropertyNotFound (Inherited from ConfigurationElement.)
Protected methodPostDeserialize (Inherited from ConfigurationElement.)
Protected methodPreSerialize (Inherited from ConfigurationElement.)
Protected methodResetSecurity Critical. (Inherited from ServiceModelExtensionElement.)
Protected methodResetModified (Inherited from ConfigurationElement.)
Protected methodSerializeElement (Inherited from ServiceModelExtensionElement.)
Protected methodSerializeToXmlElement (Inherited from ConfigurationElement.)
Protected methodSetPropertyValue (Inherited from ConfigurationElement.)
Protected methodSetPropertyValueIfNotDefaultValue``1 (Inherited from ServiceModelConfigurationElement.)
Protected methodSetReadOnly (Inherited from ConfigurationElement.)
Public methodToString (Inherited from Object.)
Protected methodUnmerge (Inherited from ConfigurationElement.)
Top

Windows Azure Access Control supports only Full Trust code access security.

The transport, along with the encoding and authentication, make up the primary components of an Windows Azure Service Bus binding.

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 this information programmatically, through BasicHttpRelayBinding or WS2007HttpRelayBinding. Therefore, you will not likely directly use this type, 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.

Instead, the main scenario for directly using types in the Microsoft.ServiceBus.Configuration namespace is if you wish to create your own custom binding. For more information on custom bindings, 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:
© 2015 Microsoft