CustomBindingElement Class
Represents the configuration section that provides full control over the messaging stack for the user.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
'Declaration Public Class CustomBindingElement _ Inherits NamedServiceModelExtensionCollectionElement(Of BindingElementExtensionElement) _ Implements ICollection(Of BindingElementExtensionElement), IEnumerable(Of BindingElementExtensionElement), _ IEnumerable, IBindingConfigurationElement 'Usage Dim instance As CustomBindingElement
Custom bindings provide full control over the Windows Communication Foundation (WCF) messaging stack. An individual binding defines the message stack by specifying the configuration elements for the stack elements in the order they appear on the stack. Each element defines and configures the one element of the stack. There must be one and only one transport element in each custom binding. Without this element, the messaging stack is incomplete.
The order in which elements appear in the stack matters, because it is the order in which operations are applied to the message. The recommended order of stack elements is the following:
Transactions (optional)
Reliable Messaging (optional)
Security (optional)
Transport
Encoder (optional)
System.Configuration.ConfigurationElement
System.ServiceModel.Configuration.ServiceModelExtensionCollectionElement(Of BindingElementExtensionElement)
System.ServiceModel.Configuration.NamedServiceModelExtensionCollectionElement(Of BindingElementExtensionElement)
System.ServiceModel.Configuration.CustomBindingElement
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.