CustomBindingCollectionElement Class
Collapse the table of content
Expand the table of content

CustomBindingCollectionElement Class

Represents a collection of customBinding configuration elements that provide full control over the messaging stack for the user. This class cannot be inherited.

Namespace: System.ServiceModel.Configuration
Assembly: System.ServiceModel (in system.servicemodel.dll)

public sealed class CustomBindingCollectionElement : BindingCollectionElement
public final class CustomBindingCollectionElement extends BindingCollectionElement
public final class CustomBindingCollectionElement extends BindingCollectionElement
Not applicable.

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:

  1. Transactions (optional)

  2. Reliable Messaging (optional)

  3. Security (optional)

  4. Transport

  5. Encoder (optional)


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

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

© 2016 Microsoft