UserLock API
|
Represents an asynchronous task result.
More...
Public Member Functions | |
TaskAsyncResult (string key, bool state, string details) | |
Initializes a new instance of the TaskAsyncResult class. | |
TaskAsyncResult (string serialized) | |
Initializes a new instance of the TaskAsyncResult class. | |
Properties | |
string | Key [get] |
Key, could be a session name or a machine name. | |
bool | State [get] |
State ok (true) or ko (false). | |
string | Details [get, set] |
Details. | |
Represents an asynchronous task result.
TaskAsyncResult | ( | string | key, |
bool | state, | ||
string | details ) |
Initializes a new instance of the TaskAsyncResult class.
key | The key, could be a session name or a machine name. |
state | State ok true or ko false . |
details | The details. |
TaskAsyncResult | ( | string | serialized | ) |
Initializes a new instance of the TaskAsyncResult class.
serialized | The serialized. An asynchronous task result could be like: "OK: [key]: [reason]\n[more reasons]" or "KO: [key]: [reason]\n[more reasons]". |