Udostępnij za pośrednictwem


ReportServerException.ErrorCode Property

Returns the error code from the exception.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Syntax

'Declaration
Public ReadOnly Property ErrorCode As String
'Usage
Dim instance As ReportServerException
Dim value As String

value = instance.ErrorCode
public string ErrorCode { get; }
public:
property String^ ErrorCode {
    String^ get ();
}
/** @property */
public String get_ErrorCode ()
public function get ErrorCode () : String

Property Value

A string value containing the error code returned by the exception.

See Also

Reference

ReportServerException Class
ReportServerException Members
Microsoft.Reporting.WebForms Namespace