.NET Framework Class Library
ChangeInterceptorAttribute Class

The ChangeInterceptorAttribute on a method is used to process updates on the specified entity set name.

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

Visual Basic (Declaration)
<AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple := True, Inherited := True)> _
Public NotInheritable Class ChangeInterceptorAttribute _
    Inherits Attribute
Visual Basic (Usage)
Dim instance As ChangeInterceptorAttribute
C#
[AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
public sealed class ChangeInterceptorAttribute : Attribute
Visual C++
[AttributeUsageAttribute(AttributeTargets::Method, AllowMultiple = true, Inherited = true)]
public ref class ChangeInterceptorAttribute sealed : public Attribute
JScript
public final class ChangeInterceptorAttribute extends Attribute
Remarks

Resource-level change authorization and validation is implemented by methods annotated on the ChangeInterceptorAttribute. The ADO.NET Data Services provides the infrastructure required for service developers to write per-entity change processing rules and validation.

Entity-level access control and validation can be enforced through query interceptors. For more information, see QueryInterceptorAttribute.

Examples

For more information, see the example in the QueryInterceptorAttribute topic.

Inheritance Hierarchy

System..::.Object
  System..::.Attribute
    System.Data.Services..::.ChangeInterceptorAttribute
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.
Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 3.5 SP1
See Also

Reference

Tags :


Page view tracker