Share via


DataServiceTransportException Constructors

Definition

Overloads

DataServiceTransportException(IODataResponseMessage, Exception)

Constructs a new instance of DataServiceTransportException.

DataServiceTransportException(SerializationInfo, StreamingContext)

DataServiceTransportException(IODataResponseMessage, Exception)

Constructs a new instance of DataServiceTransportException.

public DataServiceTransportException (Microsoft.OData.IODataResponseMessage response, Exception innerException);
new Microsoft.OData.Client.DataServiceTransportException : Microsoft.OData.IODataResponseMessage * Exception -> Microsoft.OData.Client.DataServiceTransportException
Public Sub New (response As IODataResponseMessage, innerException As Exception)

Parameters

response
IODataResponseMessage

ResponseMessage from the exception so that the error payload can be read.

innerException
Exception

Actual exception that this exception is wrapping.

Applies to

DataServiceTransportException(SerializationInfo, StreamingContext)

protected DataServiceTransportException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.OData.Client.DataServiceTransportException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.OData.Client.DataServiceTransportException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

Applies to