<dynamicEndpoint>

此配置元素定义一个标准终结点,该终结点包含信息,使应用程序能够充当可在运行时动态查找终结点地址的客户端程序。

<配置>
   <system.serviceModel>
     <standardEndpoints>
       <dynamicEndpoint>

Syntax

<system.serviceModel>
  <standardEndpoints>
    <dynamicEndpoint>
      <standardEndpoint>
        <discoveryClientSettings discoveryEndpoint="String">
          <findCriteria duration="TimeSpan"
                        maxResults="Integer"
                        scopeMatchBy="Uri">
            <contractTypeNames>
              <add name="String"
                   namespace="String" />
            </contractTypeNames>
            <extensions />
            <scopes>
              <add scope="URI" />
            </scopes>
          </findCriteria>
        </discoveryClientSettings>
      <standardEndpoint>
    </dynamicEndpoint>
  </standardEndpoints>
</system.serviceModel>

特性和元素

下列各节描述了特性、子元素和父元素。

特性

没有。

子元素

元素 Description
<discoveryClientSettings> 包含应用程序以客户端身份参与服务发现过程所需的设置。

父元素

元素 Description
<standardEndpoints> 一个标准终结点的集合,这些终结点是预定义终结点及其一个或多个属性(地址、绑定、协定)固定的。

另请参阅