Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.