Export (0) Print
Expand All

NetOnewayRelayBindingElement Class

Represents a configuration element that specifies a binding for peer channel-specific TCP messaging over the Service Bus.

System.Object
  System.Configuration.ConfigurationElement
    ServiceModelConfigurationElement
      System.ServiceModel.Configuration.StandardBindingElement
        Microsoft.ServiceBus.Configuration.NetOnewayRelayBindingElement

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

public class NetOnewayRelayBindingElement : StandardBindingElement

The NetOnewayRelayBindingElement type exposes the following members.

  NameDescription
Public methodNetOnewayRelayBindingElement()Initializes a new instance of the NetOnewayRelayBindingElement class.
Public methodNetOnewayRelayBindingElement(String)Initializes a new instance of the NetOnewayRelayBindingElement class using the specified name.
Top

  NameDescription
Protected propertyBindingElementTypeGets or sets an XML value that contains the type of binding element of the current instance. (Overrides StandardBindingElement.BindingElementType.)
Public propertyCloseTimeout (Inherited from StandardBindingElement.)
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.)
Protected propertyItem[ConfigurationProperty] (Inherited from ConfigurationElement.)
Protected propertyItem[String] (Inherited from ConfigurationElement.)
Public propertyListenBacklogGets or sets an XML value that contains the maximum number of queued connection requests that can be pending.
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 propertyMaxBufferPoolSizeGets or sets an XML value that contains the maximum size allowed for a buffer pool that stores messages processed by the binding.
Public propertyMaxBufferSizeGets or sets an XML value that contains the maximum size, in bytes, of the buffer used to store messages in memory.
Public propertyMaxConnectionsGets or sets an XML value that specifies the maximum number of outbound and inbound connections the service creates and accepts respectively.
Public propertyMaxReceivedMessageSizeGets or sets an XML value that contains the maximum size of a message that can be received on a channel configured with this binding.
Public propertyName (Inherited from StandardBindingElement.)
Public propertyOpenTimeout (Inherited from StandardBindingElement.)
Protected propertyPropertiesGets a ConfigurationPropertyCollection instance that contains a collection of ConfigurationProperty objects that can be attributes or ConfigurationElement objects of this configuration element. (Overrides StandardBindingElement.Properties.)
Public propertyReaderQuotasGets or sets an XML value that places a constraint on the complexity of SOAP messages that can be processed by endpoints configured with this binding.
Public propertyReceiveTimeout (Inherited from StandardBindingElement.)
Public propertySecurityGets an XML value that contains security elements for a Service Bus one-way TCP relay binding.
Public propertySendTimeout (Inherited from StandardBindingElement.)
Top

  NameDescription
Public methodApplyConfiguration (Inherited from StandardBindingElement.)
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 the current instance using the content of the specified binding. (Overrides StandardBindingElement.InitializeFrom(Binding).)
Protected methodIsModified (Inherited from ConfigurationElement.)
Public methodIsReadOnly (Inherited from ConfigurationElement.)
Protected methodListErrors (Inherited from ConfigurationElement.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnApplyConfigurationApplies the settings of this configuration element to the specified binding. (Overrides StandardBindingElement.OnApplyConfiguration(Binding).)
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 StandardBindingElement.)
Protected methodResetModified (Inherited from ConfigurationElement.)
Protected methodSerializeElement (Inherited from ConfigurationElement.)
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

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 binding programmatically, through NetOnewayRelayBinding. As such, you will not likely to use NetOnewayRelayBindingElement 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 NetOnewayRelayBindingElement when creating your own custom relay bindings, based on NetOnewayRelayBinding. Custom bindings are optimized collections of transport, encoding, and security elements, along with other features. If you wish to configure such a binding in an App.config file, you will also need to create a corresponding custom element. 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