dbicDayView Send comments on this topic.
EndInvoke Method
See Also 
dbicDayView Assembly > Dbi.WinControl.DayView Namespace > dbiDayView Class : EndInvoke Method

asyncResult
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

Visual Basic (Declaration) 
Public Function EndInvoke( _
   ByVal asyncResult As IAsyncResult _
) As Object
C# 
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
System.ArgumentNullExceptionThe asyncResult parameter value is a null reference (Nothing in Visual Basic).
System.ArgumentExceptionThe asyncResult object was not created by a preceding call of the System.Windows.Forms.Control.BeginInvoke(System.Delegate) method from the same control.

Requirements

Target Platforms: Current Windows operating system with .NET 8.

See Also