ActiveReports 13
EndInvoke Method (BaseToolbox)

GrapeCity.ActiveReports.Design.Win Assembly > GrapeCity.ActiveReports.Design.Toolbox Namespace > BaseToolbox 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 a null reference (Nothing in Visual Basic).
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

BaseToolbox Class
BaseToolbox Members