Constructor WriteOperation
WriteOperation(String, ProviderCacheItem, WriteOperationType, Int32)
WriteOperation constructor which takes key, ProviderCache, WriteOperationType and retries count.
Declaration
public WriteOperation(string key, ProviderCacheItem cacheItem, WriteOperationType opType, int retryCount)
Parameters
Type | Name | Description |
---|---|---|
System. |
key | Key of an item on which operation has to be performed. |
Provider |
cacheItem | It is a ProviderCacheItem that contains the object on which operation is need to be performed. |
Write |
opType | WriteOperationType that contains the type of the operation needs to be performed. |
System. |
retryCount | RetryCount is a count for how many times the retries are need to be performed for the FailureRetry items. |