다음을 통해 공유


<behavior> of <serviceBehaviors>

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

<serviceBehaviors>

A collection of service behavior elements.

Footer image

Send comments about this topic to Microsoft.
© Microsoft Corporation. All rights reserved.