ICallbackEventHandler.GetCallbackResult Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the results of a callback event that targets a control.
public:
System::String ^ GetCallbackResult();
public string GetCallbackResult ();
abstract member GetCallbackResult : unit -> string
Public Function GetCallbackResult () As String
Returns
The result of the callback.
Remarks
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.