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.String | key | key of an item on which operation has to be performed |
ProviderCacheItem | cacheItem | is a ProviderCacheItem that contains the object on which operation is need to be performed |
WriteOperationType | opType | WriteOperationType that contains the type of the Operation that is need to be performed |
System.Int32 | retryCount | RetryCount is a count for how many times the retries are need to be performed for the FailureRetry items |