TransportType 列舉

定義

定義 SocketPermissionSocket 類別的傳輸類型。

public enum class TransportType
public enum TransportType
type TransportType = 
Public Enum TransportType
繼承
TransportType

欄位

All 3

所有的傳輸類型。

Connectionless 1

傳輸類型是不連線的,例如 UDP。 指定這個值與指定 Udp 具有相同的效果。

ConnectionOriented 2

傳輸是連接導向的,例如 TCP。 指定這個值與指定 Tcp 具有相同的效果。

Tcp 2

TCP 傳輸。

Udp 1

UDP 傳輸。

備註

列舉 TransportType 會定義 和 Socket 類別的 SocketPermission 傳輸類型。

適用於

另請參閱