- method
- A delegate to a method that takes no parameters.
Visual Basic (Declaration) | |
---|---|
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)> Overloads Public Function BeginInvoke( _ ByVal method As Delegate _ ) As IAsyncResult |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As Medical3DControl Dim method As Delegate Dim value As IAsyncResult value = instance.BeginInvoke(method) |
C# | |
---|---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] public IAsyncResult BeginInvoke( Delegate method ) |
C++/CLI | |
---|---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] 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. |
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7