<transportConfigurationType> の <add>

この要素は、特定のトランスポートの種類を識別するキーと値のペアです。

configuration
  system.serviceModel
    <serviceHostingEnvironment>
      <transportConfigurationTypes>
        <add>

構文

<serviceHostingEnvironment>
  <transportConfigurationTypes>
    <add name="String"
         transportConfigurationType="String" />
  </transportConfigurationTypes>
</serviceHostingEnvironment>

属性および要素

以降のセクションでは、属性、子要素、および親要素について説明します。

属性

属性 説明
name 必須の文字列属性です。

トランスポートの種類を一意に識別するユーザー定義キーを含みます。
transportConfigurationType 特定のトランスポートを実装する種類を含む文字列。

子要素

なし

親要素

要素 説明
<transportConfigurationTypes> 特定のトランスポートを実装する型のコレクション。

<serviceHostingEnvironment>
  <transportConfigurationTypes>
    <add name="net.udp"
         transportConfigurationType="Microsoft.ServiceModel.Samples.Hosting.HostedUdpTransportConfiguration, UdpActivation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6fa904d2da1848d6" />
  </transportConfigurationTypes>
</serviceHostingEnvironment>

関連項目