Partilhar via


ODataException Constructor (SerializationInfo, StreamingContext)

Creates a new instance of the ODataException class from the specified SerializationInfo and StreamingContext instances.

Namespace:  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
'Usage
Dim info As SerializationInfo 
Dim context As StreamingContext 

Dim instance As New ODataException(info, context)
protected ODataException(
    SerializationInfo info,
    StreamingContext context
)
protected:
ODataException(
    SerializationInfo^ info, 
    StreamingContext context
)
new : 
        info:SerializationInfo * 
        context:StreamingContext -> ODataException
protected function ODataException(
    info : SerializationInfo, 
    context : StreamingContext
)

Parameters

See Also

Reference

ODataException Class

ODataException Overload

Microsoft.Data.OData Namespace