Constructor OperationResult
OperationResult(WriteOperation, OperationResult.Status)
OperationResult Constructor that takes WriteOptions and OperationStatus
Declaration
public OperationResult(WriteOperation writeOperation, OperationResult.Status operationStatus)
Parameters
Type | Name | Description |
---|---|---|
WriteOperation | writeOperation | |
OperationResult.Status | operationStatus |
OperationResult(WriteOperation, OperationResult.Status, String)
OperationResult Constructor that takes WriteOptions and OperationStatus and errorMessage as arguments
Declaration
public OperationResult(WriteOperation writeOperation, OperationResult.Status operationStatus, string errorMessage)
Parameters
Type | Name | Description |
---|---|---|
WriteOperation | writeOperation | |
OperationResult.Status | operationStatus | |
System.String | errorMessage | Error message about the failure of an operation |
OperationResult(WriteOperation, OperationResult.Status, Exception)
OperationResult Constructor that takes WriteOptions and OperationStatus and Exception as an arguments
Declaration
public OperationResult(WriteOperation writeOperation, OperationResult.Status operationStatus, Exception exception)
Parameters
Type | Name | Description |
---|---|---|
WriteOperation | writeOperation | |
OperationResult.Status | operationStatus | |
Exception | exception | Exception object about the failure of an Operation |