ChangeInterceptorAttribute Class

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

Inheritance Hierarchy
SystemObject
   SystemAttribute
    System.Data.ServicesChangeInterceptorAttribute

Namespace:   System.Data.Services
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)
Syntax
<[%$TOPIC/cc646675_en-us_VS_113_2_0_0_0_0%]([%$TOPIC/cc646675_en-us_VS_113_2_0_0_0_1%].Method, AllowMultiple := True, Inherited := True)> _
Public NotInheritable Class ChangeInterceptorAttribute _
	Inherits [%$TOPIC/cc646675_en-us_VS_113_2_0_0_0_2%]
Dim instance As ChangeInterceptorAttribute
[[%$TOPIC/cc646675_en-us_VS_113_2_0_2_0_0%]([%$TOPIC/cc646675_en-us_VS_113_2_0_2_0_1%].Method, AllowMultiple = true, Inherited = true)]
public sealed class ChangeInterceptorAttribute : [%$TOPIC/cc646675_en-us_VS_113_2_0_2_0_2%]
[[%$TOPIC/cc646675_en-us_VS_113_2_0_3_0_0%]([%$TOPIC/cc646675_en-us_VS_113_2_0_3_0_1%]::Method, AllowMultiple = true, Inherited = true)]
public ref class ChangeInterceptorAttribute sealed : public [%$TOPIC/cc646675_en-us_VS_113_2_0_3_0_2%]
[<SealedAttribute>]
[<[%$TOPIC/cc646675_en-us_VS_113_2_0_4_0_0%]([%$TOPIC/cc646675_en-us_VS_113_2_0_4_0_1%].Method, AllowMultiple = true, Inherited = true)>]
type ChangeInterceptorAttribute =  
    class 
        inherit [%$TOPIC/cc646675_en-us_VS_113_2_0_4_0_2%] 
    end
public final class ChangeInterceptorAttribute extends [%$TOPIC/cc646675_en-us_VS_113_2_0_5_0_0%]

The ChangeInterceptorAttribute type exposes the following members.

Constructors
  NameDescription
Public method ChangeInterceptorAttributeCreates a new change interceptor for an entity set specified by the parameter entitySetName.
Top
Properties
  NameDescription
Public property EntitySetNameGets the name of the entity set to which the interceptor applies.
Public property TypeId (Inherited from Attribute.)
Top
Methods
  NameDescription
Public method Equals (Inherited from Attribute.)
Public method GetHashCode (Inherited from Attribute.)
Public method GetType (Inherited from Object.)
Public method IsDefaultAttribute (Inherited from Attribute.)
Public method Match (Inherited from Attribute.)
Public method ToString (Inherited from Object.)
Top
Remarks

Resource-level change authorization and validation is implemented by methods annotated on the ChangeInterceptorAttribute. WCF 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.

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.