Processes a callback event that targets a control.
Sub RaiseCallbackEvent ( _ eventArgument As String _ )
Dim instance As ICallbackEventHandler Dim eventArgument As String instance.RaiseCallbackEvent(eventArgument)
void RaiseCallbackEvent( string eventArgument )
void RaiseCallbackEvent( String^ eventArgument )
function RaiseCallbackEvent( eventArgument : String )
When nullNothingnullptra null reference (Nothing in Visual Basic) is used as the event argument parameter, the string is serialized to "null" and sent back to the server. Because there is no way to distinguish between nullNothingnullptra null reference (Nothing in Visual Basic) and "null", you should avoid using nullNothingnullptra null reference (Nothing in Visual Basic) argument parameters with callbacks.
Exceptions thrown in RaiseCallbackEvent will not prevent GetCallbackResult from being called and returning a result. To prevent GetCallbackResult from returning a result, set a flag when an exception is thrown in RaiseCallbackEvent and return an empty string from GetCallbackResult.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98