MSDN Library

DataServiceTransportException Constructor

Constructs a new instance of DataServiceTransportException.

Namespace:  System.Data.Services.Client
Assembly:  Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)

public DataServiceTransportException(
	IODataResponseMessage response,
	Exception innerException
)

Parameters

response
Type: Microsoft.Data.OData.IODataResponseMessage
ResponseMessage from the exception so that the error payload can be read.
innerException
Type: System.Exception
Actual exception that this exception is wrapping.
Show:
© 2016 Microsoft