Udostępnij za pośrednictwem


Metoda ReportViewer.CancelRendering —

Stops background processing of the report.

Przestrzeń nazw:  Microsoft.Reporting.WinForms
Zestaw:  Microsoft.ReportViewer.WinForms (w Microsoft.ReportViewer.WinForms.dll)

Składnia

'Deklaracja
Public Function CancelRendering ( _
    millisecondsTimeout As Integer _
) As Boolean
public bool CancelRendering(
    int millisecondsTimeout
)
public:
bool CancelRendering(
    int millisecondsTimeout
)
member CancelRendering : 
        millisecondsTimeout:int -> bool 
public function CancelRendering(
    millisecondsTimeout : int
) : boolean

Parametry

  • millisecondsTimeout
    Typ: Int32
    The number of milliseconds to wait for the background rendering to terminate. A value of -1 waits forever. A value of 0 returns immediately without waiting for the rendering to terminate.

Wartość zwracana

Typ: Boolean
A Boolean value. A value of true is returned if the background rendering has terminated. A value of false is returned if background rendering has not terminated after the amount of time specified in the millisecondsTimeout parameter has elapsed, or if the millisecondsTimeout parameter was set to 0.

Zobacz też

Informacje

ReportViewer Klasa

Przestrzeń nazw Microsoft.Reporting.WinForms