Export (0) Print
Expand All

ServiceModelSectionGroup.CommonBehaviors Property

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft