EntityDescriptor.StreamETag Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

public string StreamETag { get; internal set; }

Property Value

Type: System.String

A string value that indicates the state of data.

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.

.NET Framework
Available since 3.5
Available since 4.0
Return to top