Delen via


DataProviderException Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the DataProviderException class with serialized data.

Namespace:  Microsoft.VisualStudio.Data.Core
Assembly:  Microsoft.VisualStudio.Data.Core (in Microsoft.VisualStudio.Data.Core.dll)

Syntax

'Declaration
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
protected DataProviderException(
    SerializationInfo info,
    StreamingContext context
)
protected:
DataProviderException(
    SerializationInfo^ info, 
    StreamingContext context
)
new : 
        info:SerializationInfo * 
        context:StreamingContext -> DataProviderException
protected function DataProviderException(
    info : SerializationInfo, 
    context : StreamingContext
)

Parameters

Remarks

This constructor is called during deserialization to reconstitute the exception object transmitted over a stream.

.NET Framework Security

See Also

Reference

DataProviderException Class

DataProviderException Overload

Microsoft.VisualStudio.Data.Core Namespace