CustomBindingElement Class
Represents the configuration section that provides full control over the messaging stack for the user.
Namespace: System.ServiceModel.Configuration
Assembly: System.ServiceModel (in system.servicemodel.dll)
Namespace: System.ServiceModel.Configuration
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
public class CustomBindingElement extends NamedServiceModelExtensionCollectionElement<BindingElementExtensionElement> implements ICollection<BindingElementExtensionElement>, IEnumerable<BindingElementExtensionElement>, IEnumerable, IBindingConfigurationElement
public class CustomBindingElement extends NamedServiceModelExtensionCollectionElement<BindingElementExtensionElement> implements ICollection<BindingElementExtensionElement>, IEnumerable<BindingElementExtensionElement>, IEnumerable, IBindingConfigurationElement
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.Object
System.Configuration.ConfigurationElement
System.ServiceModel.Configuration.ServiceModelExtensionCollectionElement
System.ServiceModel.Configuration.NamedServiceModelExtensionCollectionElement
System.ServiceModel.Configuration.CustomBindingElement
System.Configuration.ConfigurationElement
System.ServiceModel.Configuration.ServiceModelExtensionCollectionElement
System.ServiceModel.Configuration.NamedServiceModelExtensionCollectionElement
System.ServiceModel.Configuration.CustomBindingElement
Show: