次の方法で共有


ReportViewer.CancelRendering メソッド (Int32)

 

公開日: 2016年4月

レポートのバックグラウンド処理を停止します。

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

構文

public bool CancelRendering(
    int millisecondsTimeout
)
public:
bool CancelRendering(
    int millisecondsTimeout
)
member CancelRendering : 
        millisecondsTimeout:int -> bool
Public Function CancelRendering (
    millisecondsTimeout As Integer
) As Boolean

パラメーター

  • millisecondsTimeout
    Type: System.Int32

    バックグラウンド表示が停止するまで待機するミリ秒数。-1 を指定すると、待機状態を維持します。0 を指定すると、表示が停止するのを待たずに制御がアプリケーションに戻ります。

戻り値

Type: System.Boolean

ブール値。バックグラウンド表示が停止した場合は、true が返されます。millisecondsTimeout パラメーターで指定した時間を経過してもバックグラウンド表示が終了しない場合、または millisecondsTimeout パラメーターが 0 に設定されている場合は、false が返されます。

関連項目

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

トップに戻る