JavascriptMethodEventArgsMustReturnValue Property Awesomium.NET 1.7.6Awesomium.NET

Note: This API is now obsolete.

[This property is deprecated and it will be removed in future versions. The type of the handler method defines whether a value should be returned to JavaScript.]

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

[ObsoleteAttribute("This property is deprecated and it will be removed in future versions. The type of the handler method defines whether a value should be returned to JavaScript.", 
	true)]
public bool MustReturnValue { get; }

Property Value

Type: Boolean
Remarks

Caution note Caution
Methods that return a value are called synchronously (the view process is blocked until the handler returns). Therefore, you cannot make synchronous invocations from inside a synchronous JavascriptMethodHandler, as this would cause a deadlock. For the same reason, JavaScript objects cannot be passed to a JavascriptMethodHandler that is called synchronously. Any such objects passed from JavaScript, will be replaced with undefined in the Arguments array.
See Also

Reference