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.188 -- Release Build+372c5f6a09960ffce20cde9e684250f2ff4dddac
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