Delen via


<behaviors>

This element defines two child collections named endpointBehaviors and serviceBehaviors. Each collection defines behavior elements consumed by endpoints and services respectively. Each behavior element is identified by its unique name attribute.

Schema Hierarchy

<system.serviceModel>

Syntax

<behaviors>
   <serviceBehaviors>
   </serviceBehaviors>
   <endpointBehaviors>
   </endpointBehaviors>
</behaviors>

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None

Child Elements

Element Description

<endpointBehaviors>

This configuration section represents all the behaviors defined for a specific endpoint.

<serviceBehaviors>

This configuration section represents all the behaviors defined for a specific service.

Parent Elements

Element Description

<system.serviceModel>

The root element of all Windows Communication Foundation (WCF) configuration elements.

See Also

Reference

BehaviorsSection
EndpointBehaviorElementCollection
EndpointBehaviorElement
ServiceBehaviorElementCollection
ServiceBehaviorElement

Other Resources

Configuring and Extending the Runtime with Behaviors
Configuring Client Behaviors
Specifying Client Run-Time Behavior
Specifying Service Run-Time Behavior
Security Behaviors in WCF


© 2007 Microsoft Corporation. All rights reserved.
Last Published: 2010-01-05