Export (0) Print
Expand All

IDataServiceStreamProvider2.GetStreamETag Method (Object, ResourceProperty, DataServiceOperationContext)

WCF Data Services 5.0

Returns the eTag of the specified named stream.

Namespace:  System.Data.Services.Providers
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

string GetStreamETag(
	Object entity,
	ResourceProperty streamProperty,
	DataServiceOperationContext operationContext
)

Parameters

entity
Type: System.Object
The entity to which the named stream belongs.
streamProperty
Type: System.Data.Services.Providers.ResourceProperty
A ResourceProperty object that represents the named stream.
operationContext
Type: System.Data.Services.DataServiceOperationContext
The DataServiceOperationContext instance used by the data service to process the request.

Return Value

Type: System.String
eTag value of the specified named stream.
Show:
© 2014 Microsoft