This topic has not yet been rated - Rate this topic

Insert Method

Inserts an entry into the configuration store.

Namespace:  Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Core (in Microsoft.ApplicationServer.Caching.Core.dll)
function Insert(
	transactionContext : Object, 
	type : String, 
	key : String, 
	data : byte[], 
	version : long
) : boolean

Parameters

transactionContext
Type: System..::..Object
The transaction context object.
type
Type: System..::..String
The type of the entry.
key
Type: System..::..String
The key of the entry.
data
Type: array<System..::..Byte>[]()[][]
The value of the entry.
version
Type: System..::..Int64
The version of the entry.

Return Value

Type: System..::..Boolean
Return true if the entry is successfully inserted. Return false if the entry with the same key and type already exists. For all other failures, a ConfigStoreException must be thrown.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.
facebook page visit twitter rss feed newsletter