Share via


DataCache.Append Method (String, String, String)

 

Concatenates a string to a string object stored in the cache in the specified region.

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

Syntax

public void Append(
    string key,
    string value,
    string region
)
public:
void Append(
    String^ key,
    String^ value,
    String^ region
)
member Append : 
        key:string *
        value:string *
        region:string -> unit
Public Sub Append (
    key As String,
    value As String,
    region As String
)

Parameters

  • key
    Type: System.String

    The key of the object stored in the cache. The object must be a string.

  • value
    Type: System.String

    The string to concatenate to the stored object.

  • region
    Type: System.String

    The user-defined region in which the object is stored.

Remarks

If the key does not exist, this method throws a DataCacheException with the ErrorCode property set to KeyDoesNotExist.

See Also

Append Overload
DataCache Class
Microsoft.ApplicationServer.Caching Namespace

Return to top