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.172 -- Release Build+a00b104d832d55fca23f5e0c0323cdc12f44b76c
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