PartialListReadyEventArgs - Classe

Remarque : cette API est désormais obsolète.

Fournit la liste de la première page de données à l'événement PartialListReady de l'interface IListProvider .

Hiérarchie d’héritage

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

Espace de noms :  Microsoft.SharePoint.WebPartPages.Communication
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
<ObsoleteAttribute("Use System.Web.UI.WebControls.WebParts.IWebPartTable instead")> _
Public Class PartialListReadyEventArgs _
    Inherits EventArgs
'Utilisation
Dim instance As PartialListReadyEventArgs
[ObsoleteAttribute("Use System.Web.UI.WebControls.WebParts.IWebPartTable instead")]
public class PartialListReadyEventArgs : EventArgs

Exemples

L'exemple de code suivant illustre une implémentation d'un gestionnaire d'événements PartialListReady . Cet exemple de code fait partie d'un exemple plus développé fourni pour l'interface 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

Cohérence de thread

Tous les membres statique (Partagé dans Visual Basic)s publics de ce type sont thread-safe. Cela n’est pas garanti pour les membres d’instance.

Voir aussi

Référence

PartialListReadyEventArgs - Membres

Microsoft.SharePoint.WebPartPages.Communication - Espace de noms