Click or drag to resize
TransportException Class
Indicates an error transporting a request to the API servers or transporting a response back.
Inheritance Hierarchy

Namespace: DegreeDays.Api
Assembly: DegreeDaysApi (in DegreeDaysApi.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
public sealed class TransportException : DegreeDaysApiException
Constructors
  NameDescription
Public methodTransportException
Constructs a new TransportException with a generic system-supplied message, and null for the InnerException.
Public methodTransportException(String)
Constructs a new TransportException with the specified message and null for the InnerException.
Public methodTransportException(String, Exception)
Constructs a new TransportException with the specified message and inner exception.
Top
Remarks

A TransportException would typically indicate some sort of network or connection issue.

The InnerException property will typically hold an exception that indicates the root cause of the issue. Do be prepared for it to be null if you are inspecting it, but most likely it will be an IOException of some sort. However it could be anything, depending on the type and configuration of the IRequestProcessor that the exception originated from.

If an instance of this exception contains a custom Message, please use it for debugging purposes only. The format and content of the string messages is undocumented and subject to change.

See Also