ReportViewerException Constructor (SerializationInfo, StreamingContext)
This API supports the product infrastructure and is not intended to be used directly from your code.
Initializes a new instance of the ReportViewerException class with serialized data.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)
Syntax
protected ReportViewerException(
SerializationInfo info,
StreamingContext context
)
protected:
ReportViewerException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> ReportViewerException
Protected Sub New (
info As SerializationInfo,
context As StreamingContext
)
Parameters
info
Type: System.Runtime.Serialization.SerializationInfoThe System.Runtime.Serialization.SerializationInfo that holds the serialized data about the exception being thrown.
context
Type: System.Runtime.Serialization.StreamingContextThe contextual information about the source or destination.
Examples
Legacy Code Example
See Also
ReportViewerException Overload
ReportViewerException Class
Microsoft.Reporting.WinForms Namespace
Return to top