DataServiceTransportException Constructor

Constructs a new instance of DataServiceTransportException.

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

Syntax

'Declaration
Public Sub New ( _
    response As IODataResponseMessage, _
    innerException As Exception _
)
'Usage
Dim response As IODataResponseMessage 
Dim innerException As Exception 

Dim instance As New DataServiceTransportException(response, _
    innerException)
public DataServiceTransportException(
    IODataResponseMessage response,
    Exception innerException
)
public:
DataServiceTransportException(
    IODataResponseMessage^ response, 
    Exception^ innerException
)
new : 
        response:IODataResponseMessage * 
        innerException:Exception -> DataServiceTransportException
public function DataServiceTransportException(
    response : IODataResponseMessage, 
    innerException : Exception
)

Parameters

  • innerException
    Type: System.Exception
    Actual exception that this exception is wrapping.

See Also

Reference

DataServiceTransportException Class

System.Data.Services.Client Namespace