<services>

服務定義於組態檔的 services 區段中。 各服務都有自己的 service 組態區段。

<configuration>
  <system.serviceModel>
    <services>

Syntax

<system.serviceModel>
  <services>
    <service>
    </service>
  </services>
</system.serviceModel>

屬性和項目

下列章節說明屬性、子元素和父元素。

屬性

子元素

元素 描述
<service> 定義特定服務的服務合約、行為和端點。

父項目

元素 描述
<system.serviceModel> 所有 Windows Communication Foundation (WCF) 組態項目的根項目。

另請參閱