ReportServerException 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 ReportServerException class with serialized data.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)
Syntax
protected ReportServerException(
SerializationInfo info,
StreamingContext context
)
protected:
ReportServerException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> ReportServerException
Protected Sub New (
info As SerializationInfo,
context As StreamingContext
)
Parameters
info
Type: System.Runtime.Serialization.SerializationInfoThe SerializationInfo that holds the serialized data about the exception being thrown.
context
Type: System.Runtime.Serialization.StreamingContextThe contextual information about the source or destination.
See Also
ReportServerException Overload
ReportServerException Class
Microsoft.Reporting.WinForms Namespace
Return to top