EntityCollectionChangedEventArgs<TEntity> 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 event arguments for strongly typed add or remove notifications for the collections that contain entities.

Inheritance Hierarchy

System.Object
System.EventArgs
System.ServiceModel.DomainServices.Client.EntityCollectionChangedEventArgs<TEntity>

Namespace: System.ServiceModel.DomainServices.Client
Assembly: System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)

Syntax

'Declaration
Public Class EntityCollectionChangedEventArgs(Of TEntity) _
    Inherits EventArgs
'Usage
Dim instance As EntityCollectionChangedEventArgs(Of TEntity)
public class EntityCollectionChangedEventArgs<TEntity> : EventArgs
generic<typename TEntity>
public ref class EntityCollectionChangedEventArgs : public EventArgs
type EntityCollectionChangedEventArgs<'TEntity> =  
    class
        inherit EventArgs
    end
JScript does not support generic types and methods.

Type Parameters

The EntityCollectionChangedEventArgs<TEntity> type exposes the following members.

Constructors

Name Description
Public method EntityCollectionChangedEventArgs<TEntity> Initializes a new instance of the EntityCollectionChangedEventArgs<TEntity> class.

Top

Properties

Name Description
Public property Entity Gets the affected Entity.

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.)
Protected method MemberwiseClone (Inherited from Object.)
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.ServiceModel.DomainServices.Client Namespace