Costruttore ODataErrorException (String, Exception, ODataError)
Crea una nuova istanza della classe ODataErrorException con un messaggio di errore, un'eccezione interna e un oggetto ODataError.
Spazio dei nomi Microsoft.Data.OData
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Sintassi
'Dichiarazione
Public Sub New ( _
message As String, _
innerException As Exception, _
error As ODataError _
)
'Utilizzo
Dim message As String
Dim innerException As Exception
Dim error As ODataError
Dim instance As New ODataErrorException(message, _
innerException, error)
public ODataErrorException(
string message,
Exception innerException,
ODataError error
)
public:
ODataErrorException(
String^ message,
Exception^ innerException,
ODataError^ error
)
new :
message:string *
innerException:Exception *
error:ODataError -> ODataErrorException
public function ODataErrorException(
message : String,
innerException : Exception,
error : ODataError
)
Parametri
- message
Tipo: System.String
Messaggio di errore in testo normale per l'eccezione.
- innerException
Tipo: System.Exception
Eccezione interna che rappresenta la causa dell'eccezione da generare.
- error
Tipo: Microsoft.Data.OData.ODataError
Istanza di ODataError che rappresenta l'errore letto dal payload.