ActiveReports 10
EndInvoke Method (Viewer)

GrapeCity.ActiveReports.Viewer.Win.v10 Assembly > GrapeCity.ActiveReports.Viewer.Win Namespace > Viewer Class : EndInvoke Method
The System.IAsyncResult that represents a specific invoke asynchronous operation, returned when calling System.Windows.Forms.Control.BeginInvoke(System.Delegate).
Retrieves the return value of the asynchronous operation represented by the System.IAsyncResult passed.
Syntax
'Declaration
 
Public Function EndInvoke( _
   ByVal asyncResult As IAsyncResult _
) As Object
public object EndInvoke( 
   IAsyncResult asyncResult
)

Parameters

asyncResult
The System.IAsyncResult that represents a specific invoke asynchronous operation, returned when calling System.Windows.Forms.Control.BeginInvoke(System.Delegate).

Return Value

The System.Object generated by the asynchronous operation.
Exceptions
ExceptionDescription
The asyncResult parameter value is null.
The asyncResult object was not created by a preceding call of the System.Windows.Forms.Control.BeginInvoke(System.Delegate) method from the same control.
See Also

Reference

Viewer Class
Viewer Members