| Visual Basic (Declaration) | |
|---|---|
Overloads Public Function BeginInvoke( _ ByVal method As Delegate _ ) As IAsyncResult | |
| C# | |
|---|---|
public IAsyncResult BeginInvoke( Delegate method ) | |
Parameters
- method
- A delegate to a method that takes no parameters.
Return Value
An System.IAsyncResult that represents the result of the System.Windows.Forms.Control.BeginInvoke(System.Delegate) operation.| Exception | Description |
|---|---|
| System.InvalidOperationException | No appropriate window handle can be found. |