Click or drag to resize
RiakResult Constructor (Boolean, String, ResultCode)
Initializes a new instance of the RiakResult class.

Namespace:  RiakClient
Assembly:  RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax
public RiakResult(
	bool isSuccess = true,
	string errorMessage = null,
	ResultCode resultCode = ResultCode.Success
)

Parameters

isSuccess (Optional)
Type: SystemBoolean
true if the result represents Success, false otherwise. Defaults to true.
errorMessage (Optional)
Type: SystemString
The error message, if any. Defaults to null.
resultCode (Optional)
Type: RiakClientResultCode
The ResultCode. Defaults to ResultCode.Success.
See Also