Context
: string
[Get] |
Additional context information about the operation (optional).
Signature
string Context |
IsSuccess
: bool
[Get] |
Whether the operation was successful.
Signature
bool IsSuccess |
Message
: string
[Get] |
A detailed message describing the result of the operation.
This is particularly useful for AI agents that need context about what happened.
Signature
string Message |
Status
: RuntimeAPIResult
[Get] |
The status code of the operation.
Signature
RuntimeAPIResult Status |
ToString
()
|
Returns a string representation of the result.
Signature
override string ToString() Returns override string |
CreateFailure
(
status
, message
, context
)
|
Creates a failure result with a status code and message.
Signature
static RuntimeAPIOperationResult CreateFailure(RuntimeAPIResult status, string message, string context=null) Parameters Returns RuntimeAPIOperationResult |
CreateSuccess
(
message
, context
)
|
Creates a successful result with a message.
Signature
static RuntimeAPIOperationResult CreateSuccess(string message, string context=null) Parameters message: stringcontext: stringReturns RuntimeAPIOperationResult |