WKJavascriptEvaluationResult Delegate
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.
The result of evaluating JavaScript code.
public delegate void WKJavascriptEvaluationResult(NSObject result, NSError error);
type WKJavascriptEvaluationResult = delegate of NSObject * NSError -> unit
Parameters
- result
- NSObject
The result of a successful evaluation. null
if error occurred.
- error
- NSError
The exception that occurred. null
if evaluation succeeded.
Remarks
If evaluation was successful, error
will be null
. If an error occurred, result
will be null
.