Update Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Namespace:  Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Core (in Microsoft.ApplicationServer.Caching.Core.dll)

Syntax

'Declaration
Public Function Update ( _
    transactionContext As Object, _
    type As String, _
    key As String, _
    data As Byte(), _
    oldVersion As Long _
) As Boolean
'Usage
Dim instance As CustomProviderProxy
Dim transactionContext As Object
Dim type As String
Dim key As String
Dim data As Byte()
Dim oldVersion As Long
Dim returnValue As Boolean

returnValue = instance.Update(transactionContext, _
    type, key, data, oldVersion)
public bool Update(
    Object transactionContext,
    string type,
    string key,
    byte[] data,
    long oldVersion
)
public:
virtual bool Update(
    Object^ transactionContext, 
    String^ type, 
    String^ key, 
    array<unsigned char>^ data, 
    long long oldVersion
) sealed
abstract Update : 
        transactionContext:Object * 
        type:string * 
        key:string * 
        data:byte[] * 
        oldVersion:int64 -> bool 
override Update : 
        transactionContext:Object * 
        type:string * 
        key:string * 
        data:byte[] * 
        oldVersion:int64 -> bool 
public final function Update(
    transactionContext : Object, 
    type : String, 
    key : String, 
    data : byte[], 
    oldVersion : long
) : boolean

Parameters

Return Value

Type: System. . :: . .Boolean
Returns Boolean.

Implements

ICustomProvider. . :: . .Update(Object, String, String, array<Byte> [] () [] [], Int64)

See Also

Reference

CustomProviderProxy Class

Microsoft.ApplicationServer.Caching Namespace