Constructor DataTypeWriteOperation
DataTypeWriteOperation()
Default constructor of the class DataTypeWriteOperation to initialize its object.
Declaration
public DataTypeWriteOperation()
DataTypeWriteOperation(String, DatastructureOperationType, Int32, DistributedDataType)
DataTypeWriteOperation constructor which takes key, WriteOperationType and retries count.
Declaration
public DataTypeWriteOperation(string key, DatastructureOperationType opType, int retryCount, DistributedDataType dataType)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | Key of an item on which the operation has to be performed. |
DatastructureOperationType | opType | WriteOperationType that contains the type of the operation that needs to be performed. |
System.Int32 | retryCount | RetryCount is a count for how many times the retries need to be performed for the FailureRetry items. |
DistributedDataType | dataType | DistributedDataType specifies the data type. |
DataTypeWriteOperation(String, ProviderDataTypeItem<Object>, DatastructureOperationType, Int32)
DataTypeWriteOperation constructor which takes key, ProviderDataTypeItem, WriteOperationType and retries count.
Declaration
public DataTypeWriteOperation(string key, ProviderDataTypeItem<object> cacheItem, DatastructureOperationType opType, int retryCount)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | Key of an item on which operation has to be performed. |
ProviderDataTypeItem<System.Object> | cacheItem | It is a ProviderCollectionItem that contains the object on which operation needs to be performed. |
DatastructureOperationType | opType | WriteOperationType that contains the type of the operation that needs to be performed. |
System.Int32 | retryCount | RetryCount is a count for how many times the retries need to be performed for the FailureRetry items. |