<behaviors>

이 요소는 이름이 endpointBehaviorsserviceBehaviors인 두 개의 자식 컬렉션을 정의합니다. 각 컬렉션은 끝점 및 서비스가 사용하는 동작 요소를 각각 정의합니다. 각 동작 요소는 고유한 name 특성으로 식별됩니다. .NET Framework 4부터는 바인딩 및 동작에 이름이 필요하지 않습니다. 기본 구성 및 이름 없는 바인딩 및 동작에 대한 자세한 내용은 Simplified ConfigurationSimplified Configuration for WCF Services을 참조하십시오.

스키마 계층

<system.serviceModel>

구문

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

특성 및 요소

다음 단원에서는 특성, 자식 요소 및 부모 요소에 대해 설명합니다.

특성

없음

자식 요소

요소 설명

<endpointBehaviors>

이 구성 섹션은 특정 끝점에 정의된 모든 동작을 나타냅니다.

<serviceBehaviors>

이 구성 섹션은 특정 서비스에 정의된 모든 동작을 나타냅니다.

부모 요소

요소 설명

<system.serviceModel>

모든 WCF(Windows Communication Foundation) 구성 요소의 루트 요소입니다.

설명

<remove> 요소를 사용하여 컬렉션에서 특정 동작을 제거할 수 있습니다. 이렇게 하려면 제거할 동작의 이름을 <remove> 요소의 name 특성에 제공합니다. <clear> 요소를 사용하여 컬렉션의 모든 내용을 지워 동작 컬렉션이 비어 있는 상태로 시작되도록 할 수도 있습니다.

참고 항목

참조

BehaviorsSection
EndpointBehaviorElementCollection
EndpointBehaviorElement
ServiceBehaviorElementCollection
ServiceBehaviorElement

기타 리소스

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