Constructor OperationResult
OperationResult(WriteOperation, OperationResult.Status)
OperationResult constructor that takes WriteOptions and OperationStatus as arguments.
Declaration
public OperationResult(WriteOperation writeOperation, OperationResult.Status operationStatus)
Parameters
Type | Name | Description |
---|---|---|
WriteOperation | writeOperation | WriteOperation is used with DSWriteOperation to get an operation to perform on the cache. |
OperationResult.Status | operationStatus | OperationResult.Status contains the Operation Status flag that is either Success/Failure/FailureRetry/FailureDontRemove. |
OperationResult(WriteOperation, OperationResult.Status, String)
OperationResult constructor that takes WriteOptions, OperationStatus and errorMessage as arguments.
Declaration
public OperationResult(WriteOperation writeOperation, OperationResult.Status operationStatus, string errorMessage)
Parameters
Type | Name | Description |
---|---|---|
WriteOperation | writeOperation | WriteOperation is used with DSWriteOperation to get an operation to perform on the cache. |
OperationResult.Status | operationStatus | OperationResult.Status contains the Operation Status flag that is either Success/Failure/FailureRetry/FailureDontRemove. |
System.String | errorMessage | Error message about the failure of an operation. |
OperationResult(WriteOperation, OperationResult.Status, Exception)
OperationResult constructor that takes WriteOptions, OperationStatus and Exception as arguments.
Declaration
public OperationResult(WriteOperation writeOperation, OperationResult.Status operationStatus, Exception exception)
Parameters
Type | Name | Description |
---|---|---|
WriteOperation | writeOperation | WriteOperation is used with DSWriteOperation to get an operation to perform on the cache. |
OperationResult.Status | operationStatus | OperationResult.Status contains the Operation Status flag that is either Success/Failure/FailureRetry/FailureDontRemove. |
System.Exception | exception | Exception object about the failure of an operation. |
OperationResult(DataTypeWriteOperation, OperationResult.Status)
OperationResult constructor that takes WriteOptions and OperationStatus.
Declaration
public OperationResult(DataTypeWriteOperation writeDataTypeOperation, OperationResult.Status operationStatus)
Parameters
Type | Name | Description |
---|---|---|
DataTypeWriteOperation | writeDataTypeOperation | DataTypeWriteOperation contains operations to be performed on collections. |
OperationResult.Status | operationStatus | OperationResult.Status contains the Operation Status flag that is either Success/Failure/FailureRetry/FailureDontRemove. |
OperationResult(DataTypeWriteOperation, OperationResult.Status, String)
OperationResult constructor that takes WriteOptions, OperationStatus and errorMessage as arguments.
Declaration
public OperationResult(DataTypeWriteOperation writeDataTypeOperation, OperationResult.Status operationStatus, string errorMessage)
Parameters
Type | Name | Description |
---|---|---|
DataTypeWriteOperation | writeDataTypeOperation | DataTypeWriteOperation contains operations to be performed on collections. |
OperationResult.Status | operationStatus | OperationResult.Status contains the Operation Status flag that is either Success/Failure/FailureRetry/FailureDontRemove. |
System.String | errorMessage | Error message about the failure of an operation. |
OperationResult(DataTypeWriteOperation, OperationResult.Status, Exception)
OperationResult constructor that takes WriteOptions, OperationStatus and Exception as arguments.
Declaration
public OperationResult(DataTypeWriteOperation writeDataTypeOperation, OperationResult.Status operationStatus, Exception exception)
Parameters
Type | Name | Description |
---|---|---|
DataTypeWriteOperation | writeDataTypeOperation | WriteOperation is used with DSWriteOperation to get an operation to perform on the cache. |
OperationResult.Status | operationStatus | OperationResult.Status contains the Operation Status flag that is either Success/Failure/FailureRetry/FailureDontRemove. |
System.Exception | exception | Exception object about the failure of an operation. |