Initializes a new instance of the
AsyncResponder class with user state callback functions.
Syntax
Visual Basic (Declaration)
C#
Public Function New( _
ByVal resultState As ESRI.ArcGIS.Client.BACore.Client.AsyncStateCallback(Of ClientEventArgs), _
ByVal faultState As ESRI.ArcGIS.Client.BACore.Client.AsyncStateCallback(Of TaskFailedEventArgs), _
ByVal userState As Object _
)
public AsyncResponder(
ESRI.ArcGIS.Client.BACore.Client.AsyncStateCallback<ClientEventArgs> resultState,
ESRI.ArcGIS.Client.BACore.Client.AsyncStateCallback<TaskFailedEventArgs> faultState,
object userState
)
Parameters
- resultState
- Result callback function with a user state (can be null).
- faultState
- Fault callback function with a user state (can be null).
- userState
- User state object.
Requirements
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
See Also