ListProviderInitEventHandler Delegate

The ListProviderInitEventHandler delegate represents the method that will handle the ListProviderInit event fired by a WebPart class that implements the IListProvider interface.

The declaration of your event handler must have the same parameters as the ListProviderInitEventHandler delegate declaration.

sender   The source of the event, the WebPart.

e   A ListProviderInitEventArgs that contains the event data.

Remarks

When you create a ListProviderInitEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate.

Requirements

Namespace: Microsoft.SharePoint.WebPartPages.Communication

Platforms: Microsoft Windows Server 2003

Assembly: Windows SharePoint Services (in Microsoft.SharePoint.dll)

Security: Code Access Security. In addition, the WebPartPermissions.Connections permission is required to use this member.