TransportType Enumeration
.NET Framework 4.5
Defines transport types for the SocketPermission and Socket classes.
Namespace: System.Net
Assembly: System (in System.dll)
| Member name | Description | |
|---|---|---|
| Udp | UDP transport. | |
| Connectionless | The transport type is connectionless, such as UDP. Specifying this value has the same effect as specifying Udp. | |
| Tcp | TCP transport. | |
| ConnectionOriented | The transport is connection oriented, such as TCP. Specifying this value has the same effect as specifying Tcp. | |
| All | All transport types. |
The TransportType enumeration defines transport types for the SocketPermission and Socket classes.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.