Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The behavior element contains a collection of settings for the behavior of a service. Each behavior is indexed by its name. Services can link to each behavior through this name.
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior> of <endpointBehaviors>
                                    
                                    <system.ServiceModel>
                                
                                    
                                      <behaviors>
                                
                                    
                                        <serviceBehaviors>
                                
                                    
                                           <behavior name="String" />
                                
                                    
                                        </serviceBehaviors>
                                
                                    
                                      </behaviors>
                                
                                    
                                    </system.ServiceModel>
                                
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
| Attribute | Description | 
|---|---|
| name | A unique string that contains the configuration name of the behavior. This value is a user-defined string that must be unique, since it acts as the identification string for the element. | 
Child Elements
Various.
Parent Elements
| Element | Description | 
|---|---|
| A collection of service behavior elements. | 
.gif)
Send comments about this topic to Microsoft.
© Microsoft Corporation. All rights reserved.