Compartir a través de


Clase PartialListReadyEventArgs

NOTA: esta API está ahora obsoleta.

Proporciona la lista de la primera página de datos para el evento PartialListReady de la interfaz IListProvider .

Jerarquía de la herencia

System.Object
  System.EventArgs
    Microsoft.SharePoint.WebPartPages.Communication.PartialListReadyEventArgs

Espacio de nombres:  Microsoft.SharePoint.WebPartPages.Communication
Ensamblado:  Microsoft.SharePoint (en Microsoft.SharePoint.dll)

Sintaxis

'Declaración
<ObsoleteAttribute("Use System.Web.UI.WebControls.WebParts.IWebPartTable instead")> _
Public Class PartialListReadyEventArgs _
    Inherits EventArgs
'Uso
Dim instance As PartialListReadyEventArgs
[ObsoleteAttribute("Use System.Web.UI.WebControls.WebParts.IWebPartTable instead")]
public class PartialListReadyEventArgs : EventArgs

Ejemplos

En el ejemplo de código siguiente se muestra una implementación de un controlador de eventos PartialListReady . Este ejemplo de código forma parte de un ejemplo más extenso de la interfaz IListProvider .

        // Step #8: Implement the PartialListReady event handler.
        // The connected provider part(s) will call this method during 
        // its PartCommunicationMain phase
        // to pass partial amounts of their primary data to the 
        // consumer Web Part. This is useful in 
        // scenarios involving large datasets that need to be streamed.
        
        // <param name="sender">Reference to the provider Web 
        // Part</param>
        // <param name="partialListReadyEventArgs">The args passed by 
        // the provider Web Part</param>
        public void PartialListReady(object sender, PartialListReadyEventArgs partialListReadyEventArgs)
        {
            // Because this class implements the IListConsumer 
            // interface, it must  implement the interface member 
            // PartialListReady. However, this example doesn't use any 
            // data that may be passed in here.
        }
        ' Step #8: Implement the PartialListReady event handler.
        ' The connected provider part(s) will call this method during 
        ' its PartCommunicationMain phase
        ' to pass partial amounts of their primary data to the 
        ' consumer Web Part. This is useful in 
        ' scenarios involving large datasets that need to be streamed.

        ' <param name="sender">Reference to the provider Web 
        ' Part</param>
        ' <param name="partialListReadyEventArgs">The args passed by 
        ' the provider Web Part</param>
        Public Sub PartialListReady(ByVal sender As Object, ByVal partialListReadyEventArgs As PartialListReadyEventArgs)
            ' Because this class implements the IListConsumer 
            ' interface, it must  implement the interface member 
            ' PartialListReady. However, this example doesn't use any 
            ' data that may be passed in here.
        End Sub

Seguridad para subprocesos

Los miembros static (Shared en Visual Basic) públicos de este tipo son seguros para subprocesos. No se garantiza que los miembros de instancias sean seguros para los subprocesos.

Vea también

Referencia

Miembros PartialListReadyEventArgs

Espacio de nombres Microsoft.SharePoint.WebPartPages.Communication