Dundas Chart for Windows Forms
EndInvoke Method
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > Chart Class : EndInvoke Method


asyncResult
The IAsyncResult that represents a specific invoke asynchronous operation, returned when calling BeginInvoke.
Retrieves the return value of the asynchronous operation represented by the IAsyncResult passed.

Syntax

Visual Basic (Declaration)  
Public Function EndInvoke( _
   ByVal asyncResult As IAsyncResult _
) As Object
Visual Basic (Usage) Copy Code
Dim instance As Chart
Dim asyncResult As IAsyncResult
Dim value As Object
 
value = instance.EndInvoke(asyncResult)
C#  
public object EndInvoke( 
   IAsyncResult asyncResult
)

Parameters

asyncResult
The IAsyncResult that represents a specific invoke asynchronous operation, returned when calling BeginInvoke.

Return Value

The Object generated by the asynchronous operation.

Exceptions

Exception Description
ArgumentException The asyncResult object was not created by a preceding call of the BeginInvoke method from the same control.
ArgumentNullException The asyncResult parameter value is null.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.