This documentation is archived and is not being maintained.

ETagAttribute.PropertyNames Property

Gets the names of properties used in the ETagAttribute.

Namespace:  System.Data.Services
Assembly:  System.Data.Services (in System.Data.Services.dll)

public ReadOnlyCollection<string> PropertyNames { get; }

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<String>
String value containing property names.

Parameters to the ETagAttribute constructors are the set of property names used to make up the eTag value for the type. If a type has eTags defined, the server automatically implements optimistic concurrency checks on all requests to the type. If a key property, complex type property, or navigation property is specified, an ArgumentException is thrown.

.NET Framework

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.