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.187 -- Release Build+fa8186f3b8fc3b7ddebc367b4d5964d4955e6f17
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