CallbackDefinition(Delegate) Constructor

Creates a new instance of the CallbackDefinition class.

Definition

Namespace: Gemstone.Web.Razor.Callbacks
Assembly: Gemstone.Web.Razor (in Gemstone.Web.Razor.dll) Version: 1.0.174 -- Release Build+4903e853d632f4178b361297fed9e7f870e70f49
public CallbackDefinition(
	Delegate methodCapture
)

Parameters

methodCapture  Delegate
The method to be invoked from Javascript.

Exceptions

ArgumentExceptionThe method to be invoked is not annotated with the JSInvokableAttribute.

See Also