Udostępnij za pośrednictwem


EntityDescriptor.StreamETag Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the eTag for the media resource associated with an entity that is a media link entry.

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

Syntax

'Declaration
Public Property StreamETag As String
public string StreamETag { get; internal set; }

Property Value

Type: System.String
A string value that indicates the state of data.

Remarks

The StreamETag property returns an eTag value that indicates the state of the media resource targeted for update since the last call to SaveChanges when the entity is a media link entry.

The eTag associated with the media resource is used to represent original values for use with optimistic concurrency checks according to eTag rules in HTTP RFC 2616.

The value may be empty or null. Null represents the case in which no eTag is currently associated with the media resource.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.