次の方法で共有


LocalReport.ShowDetailedSubreportMessages プロパティ

 

発行: 2016年4月

サブレポートでエラーが発生した場合に、詳細メッセージを表示するかどうかを示す boolean 値を取得または設定します。

名前空間:   Microsoft.Reporting.WinForms
アセンブリ:  Microsoft.ReportViewer.WinForms (Microsoft.ReportViewer.WinForms.dll 内)

構文

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

プロパティ値

Type: System.Boolean

詳細メッセージを表示する場合は true。それ以外の場合は false。既定値は、true です。

解説

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.

注意

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.

参照

LocalReport クラス
Microsoft.Reporting.WinForms 名前空間

トップに戻る