Επεξεργασία

Κοινή χρήση μέσω


ICallbackEventHandler.GetCallbackResult Method

Definition

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.

Applies to

See also