ICallbackEventHandler.GetCallbackResult 方法

定义

返回以控件为目标的回调事件的结果。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

返回

回调的结果。The result of the callback.

注解

中引发的RaiseCallbackEvent异常不会GetCallbackResult阻止调用并返回结果。Exceptions thrown in RaiseCallbackEvent will not prevent GetCallbackResult from being called and returning a result. 若要GetCallbackResult防止返回结果, 请在中RaiseCallbackEvent引发异常时设置标志, 并从GetCallbackResult返回空字符串。To prevent GetCallbackResult from returning a result, set a flag when an exception is thrown in RaiseCallbackEvent and return an empty string from GetCallbackResult.

适用于

另请参阅