Udostępnij za pośrednictwem


DataServiceCollection<T>.LoadCompleted Event

Occurs when an asynchronous load operation completes.

Supported only by the WCF Data Services 5.0 client for Silverlight.

Namespace:  System.Data.Services.Client
Assembly:  Microsoft.Data.Services.Client.SL (in Microsoft.Data.Services.Client.SL.dll)

Syntax

'Declaration
Public Event LoadCompleted As EventHandler(Of LoadCompletedEventArgs)
'Usage
Dim instance As DataServiceCollection 
Dim handler As EventHandler(Of LoadCompletedEventArgs)

AddHandler instance.LoadCompleted, handler
public event EventHandler<LoadCompletedEventArgs> LoadCompleted
public:
 event EventHandler<LoadCompletedEventArgs^>^ LoadCompleted {
    void add (EventHandler<LoadCompletedEventArgs^>^ value);
    void remove (EventHandler<LoadCompletedEventArgs^>^ value);
}
member LoadCompleted : IEvent<EventHandler<LoadCompletedEventArgs>,
    LoadCompletedEventArgs>
JScript supports the use of events, but not the declaration of new ones.

Remarks

The LoadCompleted event is raised when an asynchronous call to either the LoadAsync or the LoadNextPartialSetAsync method returns. This event is raised regardless of the success or failure of the operation.

See Also

Reference

DataServiceCollection<T> Class

System.Data.Services.Client Namespace