Visual Basic (Declaration)
C#
Parameters
- taskName
- Name of the task associated with request.
- resultType
- Result type of the task associated with request.
- resultHandler
- Handler to be executed when the task completes.
- userState
- A user-defined object that is passed to the method invoked when the asynchronous operation completes or fails.
- executeCompleted
- Execute completed event handler.
- executeFailed
- Execute failed event handler.
- eventArgsType
- Type of event args class to be returned on result event.
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