ServiceModelSectionGroup.CommonBehaviors Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the configuration section that contains a list of behaviors that is applied to all WCF services on the machine before the behaviors in the behaviors section are applied.

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

public CommonBehaviorsSection CommonBehaviors { get; }

Property Value

Type: System.ServiceModel.Configuration.CommonBehaviorsSection

The configuration section that contains a list of behaviors that is applied to all WCF services on the machine before the behaviors in the behaviors section are applied.

This section is defined in the Machine.config file. It contains a list of behaviors that is applied to all WCF services on the machine before the behaviors in the behaviors collection are applied. If a behavior is defined in both sections, the behavior in the behaviors sections is given preference.

.NET Framework
Available since 3.0
Return to top
Show: