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
)
new :
?isSuccess : bool *
?errorMessage : string *
?resultCode : ResultCode
(* Defaults:
let _isSuccess = defaultArg isSuccess true
let _errorMessage = defaultArg errorMessage null
let _resultCode = defaultArg resultCode ResultCode.Success
*)
-> RiakResult
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