Compartilhar via


LoadedDataEventArgs Class

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Provides data for the LoadedData event.

Inheritance Hierarchy

System.Object
  System.EventArgs
    System.ComponentModel.AsyncCompletedEventArgs
      System.Windows.Controls.LoadedDataEventArgs

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.DomainServices (in System.Windows.Controls.DomainServices.dll)

Syntax

'Declaration
Public NotInheritable Class LoadedDataEventArgs _
    Inherits AsyncCompletedEventArgs
'Usage
Dim instance As LoadedDataEventArgs
public sealed class LoadedDataEventArgs : AsyncCompletedEventArgs
public ref class LoadedDataEventArgs sealed : public AsyncCompletedEventArgs
[<SealedAttribute>]
type LoadedDataEventArgs =  
    class
        inherit AsyncCompletedEventArgs
    end
public final class LoadedDataEventArgs extends AsyncCompletedEventArgs

The LoadedDataEventArgs type exposes the following members.

Properties

  Name Description
Public property AllEntities Gets all the entities loaded, including any entities referenced by the top level entities.
Public property Cancelled (Inherited from AsyncCompletedEventArgs.)
Public property Entities Gets all the top-level entities that were loaded.
Public property Error (Inherited from AsyncCompletedEventArgs.)
Public property HasError Gets a value indicating whether the operation has failed.
Public property IsErrorHandled Gets a value indicating whether the operation error has been marked as handled by calling the MarkErrorAsHandled method.
Public property TotalEntityCount Gets the total entity count for the load operation.
Public property UserState (Inherited from AsyncCompletedEventArgs.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method MarkErrorAsHandled For a failed operation, marks the error as handled so the exception is not thrown.
Protected method MemberwiseClone (Inherited from Object.)
Protected method RaiseExceptionIfNecessary (Inherited from AsyncCompletedEventArgs.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Windows.Controls Namespace