ReportServerException Constructor (String, String, Exception)
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 error message, error code, and inner exception.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)
Syntax
protected ReportServerException(
string message,
string errorCode,
Exception innerException
)
protected:
ReportServerException(
String^ message,
String^ errorCode,
Exception^ innerException
)
new :
message:string *
errorCode:string *
innerException:Exception -> ReportServerException
Protected Sub New (
message As String,
errorCode As String,
innerException As Exception
)
Parameters
message
Type: System.StringThe message that describes the error.
errorCode
Type: System.StringThe error code for the exception.
innerException
Type: System.ExceptionThe inner exception that is the cause of the current exception, or null if no inner exception is given.
See Also
ReportServerException Overload
ReportServerException Class
Microsoft.Reporting.WinForms Namespace
Return to top