Executes the specified delegate. Provides additional state information to be passed to the thread.
Syntax
Visual Basic (Declaration) | |
---|
Overloads Public Shared Function Execute(Of T)( _
ByVal d As Action(Of T), _
ByVal state As T _
) As AsyncResult |
Parameters
- d
- The delegate to execute asynchronously.
- state
- The state information to pass to the thread.
Type Parameters
- T
- The type of parameter this thread uses.
Return Value
The asynchronous result.
Requirements
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
See Also