实体类型上的此属性用于指定确定内容变更的属性。
继承层次结构
System.Object
System.Attribute
System.Data.Services.ETagAttribute
命名空间: System.Data.Services
程序集: Microsoft.Data.Services(在 Microsoft.Data.Services.dll 中)
语法
声明
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := False, Inherited := True)> _
Public NotInheritable Class ETagAttribute _
Inherits Attribute
用法
Dim instance As ETagAttribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public sealed class ETagAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = false, Inherited = true)]
public ref class ETagAttribute sealed : public Attribute
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false, Inherited = true)>]
type ETagAttribute =
class
inherit Attribute
end
public final class ETagAttribute extends Attribute
ETagAttribute 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
![]() |
ETagAttribute(String) | 初始化 ETagAttribute 类的新实例。 |
![]() |
ETagAttribute(array<String[]) | 初始化 ETagAttribute 类的新实例。 |
页首
属性
名称 | 说明 | |
---|---|---|
![]() |
PropertyNames | 获取 ETagAttribute 中所用属性的名称。 |
![]() |
TypeId | (从 Attribute 继承。) |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
Equals | (从 Attribute 继承。) |
![]() |
Finalize | (从 Object 继承。) |
![]() |
GetHashCode | (从 Attribute 继承。) |
![]() |
GetType | (从 Object 继承。) |
![]() |
IsDefaultAttribute | (从 Attribute 继承。) |
![]() |
Match | (从 Attribute 继承。) |
![]() |
MemberwiseClone | (从 Object 继承。) |
![]() |
ToString | (从 Object 继承。) |
页首
显式接口实现
名称 | 说明 | |
---|---|---|
![]() ![]() |
_Attribute.GetIDsOfNames | (从 Attribute 继承。) |
![]() ![]() |
_Attribute.GetTypeInfo | (从 Attribute 继承。) |
![]() ![]() |
_Attribute.GetTypeInfoCount | (从 Attribute 继承。) |
![]() ![]() |
_Attribute.Invoke | (从 Attribute 继承。) |
页首
注释
开放式并发检查在 WCF 数据服务 中的每个类型基础上启用。 有关更多信息,请参见对数据进行更改(WCF 数据服务)。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。