Condividi tramite


Proprietà LocalReport.ShowDetailedSubreportMessages

Ottiene o imposta un valore Boolean che indica se devono essere visualizzati messaggi dettagliati quando si verifica un errore in un sottoreport.

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

Sintassi

'Dichiarazione
Public Property ShowDetailedSubreportMessages As Boolean
public bool ShowDetailedSubreportMessages { get; set; }
public:
property bool ShowDetailedSubreportMessages {
    bool get ();
    void set (bool value);
}
member ShowDetailedSubreportMessages : bool with get, set
function get ShowDetailedSubreportMessages () : boolean
function set ShowDetailedSubreportMessages (value : boolean)

Valore proprietà

Tipo: Boolean
true se i messaggi dettagliati devono essere visualizzati; in caso contrario, false.Il valore predefinito è true.

Note

This property is useful for debugging subreport errors. If it is set to false, the generic message "An error occurred during subreport processing" is displayed.

Nota

Errors in subreport processing do not affect whether the main report is processed successfully.You can still view and interact with the main report, such as exporting and printing it.

Changing this property causes the report definition to be updated and the report to be reprocessed.

Vedere anche

Riferimenti

LocalReport Classe

Spazio dei nomi Microsoft.Reporting.WebForms