November Happy Hour will be moved to Thursday December 5th.

Delegate DataSourceMethodEventHandler

Represents the method that will handle the Selecting, Updating, Inserting, or Deleting event of the GenericDataSource<TObject, TCollection, TKey> control.

Namespace: EPiServer.Web.WebControls
Assembly: EPiServer.dll
Version: 9.12.2
Syntax
public delegate void DataSourceMethodEventHandler(object sender, DataSourceMethodEventArgs e);
Parameters
Type Name Description
System.Object sender
DataSourceMethodEventArgs e

Constructors

DataSourceMethodEventHandler(Object, IntPtr)

Declaration
public DataSourceMethodEventHandler(object object, IntPtr method)
Parameters
Type Name Description
System.Object object
System.IntPtr method

Methods

BeginInvoke(Object, DataSourceMethodEventArgs, AsyncCallback, Object)

Declaration
public virtual IAsyncResult BeginInvoke(object sender, DataSourceMethodEventArgs e, AsyncCallback callback, object object)
Parameters
Type Name Description
System.Object sender
DataSourceMethodEventArgs e
System.AsyncCallback callback
System.Object object
Returns
Type Description
System.IAsyncResult

EndInvoke(IAsyncResult)

Declaration
public virtual void EndInvoke(IAsyncResult result)
Parameters
Type Name Description
System.IAsyncResult result

Invoke(Object, DataSourceMethodEventArgs)

Declaration
public virtual void Invoke(object sender, DataSourceMethodEventArgs e)
Parameters
Type Name Description
System.Object sender
DataSourceMethodEventArgs e

Extension Methods