Reads an operation response of a WebRpc and provides convenient access to most common values.
More...
|
string | Name [get, set] |
| Name of the WebRpc that was called. More...
|
|
int | ReturnCode [get, set] |
| ReturnCode of the WebService that answered the WebRpc. More...
|
|
string | DebugMessage [get, set] |
| Might be empty or null. More...
|
|
Dictionary< string, object > | Parameters [get, set] |
| Other key/values returned by the webservice that answered the WebRpc. More...
|
|
WebRpcResponse.WebRpcResponse |
( |
OperationResponse |
response | ) |
|
An OperationResponse for a WebRpc is needed to read it's values.
string WebRpcResponse.ToStringFull |
( |
| ) |
|
Turns the response into an easier to read string.
- Returns
- String resembling the result.
string WebRpcResponse.DebugMessage |
|
getset |
string WebRpcResponse.Name |
|
getset |
Name of the WebRpc that was called.
Dictionary<string, object> WebRpcResponse.Parameters |
|
getset |
Other key/values returned by the webservice that answered the WebRpc.
int WebRpcResponse.ReturnCode |
|
getset |
ReturnCode of the WebService that answered the WebRpc.
0 is commonly used to signal success.
-1 tells you: Got no ReturnCode from WebRpc service.
Other ReturnCodes are defined by the individual WebRpc and service.