JavascriptMessageEventArgsResult Property Awesomium.NET 1.7.6Awesomium.NET
Gets or sets the result (returned value) passed back to the JavaScript caller.

Namespace: Awesomium.Core
Assembly: Awesomium.Core (in Awesomium.Core.dll) Version: 1.7.6.0
Syntax

public JSValue Result { get; set; }

Property Value

Type: JSValue
Remarks

When a JavascriptMessage is the result of a sendMessage(String, Any) call, the response is synchronously returned to the caller from the sendMessage(String, Any) call.

When a JavascriptMessage event is the result of a sendMessageAsync(String, Function, Any) call and IsSynchronous is false, you can still return a response to JavaScript clients through the Result property. The result will be passed to the callback function specified by the JavaScript caller as the second parameter to a sendMessageAsync(String, Function, Any) call.

See Also

Reference