Edit

<add> of <transportConfigurationType>

This element is a key/value pair, which identifies the type of a particular transport.

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

Syntax

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

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description
name Required String attribute.

Contains a user-defined key that uniquely identifies the transport type.
transportConfigurationType A string that contains the type that implements the specific transport.

Child Elements

None

Parent Elements

Element Description
<transportConfigurationTypes> A collection of types that implement the specific transport.

Example

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

See also