获取与作为媒体链接入口的实体相关联的媒体资源的 eTag。
命名空间: System.Data.Services.Client
程序集: Microsoft.Data.Services.Client(在 Microsoft.Data.Services.Client.dll 中)
语法
声明
Public Property StreamETag As String
Get
Friend Set
用法
Dim instance As EntityDescriptor
Dim value As String
value = instance.StreamETag
public string StreamETag { get; internal set; }
public:
property String^ StreamETag {
String^ get ();
internal: void set (String^ value);
}
member StreamETag : string with get, internal set
function get StreamETag () : String
internal function set StreamETag (value : String)
属性值
类型:System.String
用于指示数据状态的字符串值。
注释
当实体作为媒体链接入口时,StreamETag 属性会返回一个 eTag 值,该值指示自上次调用 SaveChanges 以来预期要更新的媒体资源的状态。
与媒体资源相关联的 eTag 用于表示原始值,以便根据 HTTP RFC 2616 中的 eTag 规则用于开放式并发检查。
该值可能为空或 null。 Null 表示当前没有 eTag 与媒体资源相关联。