Add a CacheItem and update all machines if any (does nothing when EasyCache is not Active)

This will send cache invalidation updates automatically across all machines,

WARNING: use carefully only when needed to avoid excessive network traffic and slowness - otherwise use Add().

CacheDependency dependencies defaults to null

TimeSpan slidingExpiration defaults to Cache.NoSlidingExpiration

CacheItemPriority priority defaults to CacheItemPriority.NotRemovable

Namespace:  MicroMighty.SDK.Net.Tools
Assembly:  MicroMighty.SDK.Net (in MicroMighty.SDK.Net.dll)

Syntax

Visual Basic (Declaration)
Public Sub AddToAllMachines ( _
	key As String, _
	value As Object, _
	expirationAbsolute As DateTime _
)
C#
public void AddToAllMachines(
	string key,
	Object value,
	DateTime expirationAbsolute
)
Visual C++
public:
void AddToAllMachines(
	String^ key, 
	Object^ value, 
	DateTime expirationAbsolute
)
JavaScript
function addToAllMachines(key, value, expirationAbsolute);

Parameters

key
Type: System..::.String
value
Type: System..::.Object
expirationAbsolute
Type: System..::.DateTime

See Also