csharp
public sealed class TransportExceptionA transport was asked to do something it cannot do — listen on an endpoint already taken, connect a client half that is already connected.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Deliberately narrow. Losing a packet, being refused a connection and being disconnected are not exceptions: they are what a network does, they are reported through ITransportEvents, and a transport that threw for them would make ordinary operation cost a stack trace.
Methods (3)
public TransportException(string message)Creates the exception with a message.
public TransportException(string message, Exception innerException)Creates the exception with a message and a cause.
public TransportException()Creates the exception with no message.
Used by (8)
- CompositeTransportVixen.Net.Transport.Composite
- LocalNetworkVixen.Net.Transport.Local
- LocalTransportVixen.Net.Transport.Local
- LocalTransportTestsVixen.Net.Transport.Local.Tests
- TransportConformanceVixen.Net.Tests
- UdpTransportVixen.Net.Transport.Udp
- WebSocketTransportVixen.Net.Transport.WebSocket
- RemoteInspectorClientVixen.Editor.Debugger