Condividi tramite


Metodo IDataServiceStreamProvider2.GetStreamETag (Object, ResourceProperty, DataServiceOperationContext)

Restituisce l'elemento eTag del flusso denominato specificato.

Spazio dei nomi  System.Data.Services.Providers
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

Sintassi

'Dichiarazione
Function GetStreamETag ( _
    entity As Object, _
    streamProperty As ResourceProperty, _
    operationContext As DataServiceOperationContext _
) As String
'Utilizzo
Dim instance As IDataServiceStreamProvider2
Dim entity As Object
Dim streamProperty As ResourceProperty
Dim operationContext As DataServiceOperationContext
Dim returnValue As String

returnValue = instance.GetStreamETag(entity, _
    streamProperty, operationContext)
string GetStreamETag(
    Object entity,
    ResourceProperty streamProperty,
    DataServiceOperationContext operationContext
)
String^ GetStreamETag(
    Object^ entity, 
    ResourceProperty^ streamProperty, 
    DataServiceOperationContext^ operationContext
)
abstract GetStreamETag : 
        entity:Object * 
        streamProperty:ResourceProperty * 
        operationContext:DataServiceOperationContext -> string 
function GetStreamETag(
    entity : Object, 
    streamProperty : ResourceProperty, 
    operationContext : DataServiceOperationContext
) : String

Parametri

  • entity
    Tipo: System.Object
    Entità a cui appartiene il flusso denominato.

Valore restituito

Tipo: System.String
Valore eTag del flusso denominato specificato.

Vedere anche

Riferimento

IDataServiceStreamProvider2 Interfaccia

Overload GetStreamETag

Spazio dei nomi System.Data.Services.Providers