Condividi tramite


Costruttore ReportServerException (String, String, Exception)

Questa API supporta l'infrastruttura .NET Framework e non deve essere utilizzata direttamente dal codice.

Inizializza una nuova istanza della classe ReportServerException con il messaggio di errore, il codice di errore e l'eccezione interna.

Spazio dei nomi:  Microsoft.Reporting.WinForms
Assembly:  Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)

Sintassi

'Dichiarazione
Protected Sub New ( _
    message As String, _
    errorCode As String, _
    innerException As Exception _
)
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 function ReportServerException(
    message : String, 
    errorCode : String, 
    innerException : Exception
)

Parametri

  • message
    Tipo: String
    Messaggio in cui viene descritto l'errore.
  • errorCode
    Tipo: String
    Codice di errore per l'eccezione.
  • innerException
    Tipo: Exception
    Eccezione interna che ha causato l'eccezione corrente oppure nullriferimento null (Nothing in Visual Basic) se non è stata specificata un'eccezione interna.

Vedere anche

Riferimenti

ReportServerException Classe

Overload ReportServerException

Spazio dei nomi Microsoft.Reporting.WinForms