A class in Alta.NetworkTransport.Runtime, Alta.NetworkingTransport.
Simple success or error result returned by transport calls such as ProcessIncoming and Terminate.
Constructors
Properties
| Member | What it is |
|---|
string Error { get; private set; } | The error message; null on success. |
bool IsSuccess { get; private set; } | True when the call worked. |
static NetworkTransportResult NoResources { get; } | Shared failed result with the message "No resources". |
static NetworkTransportResult Success { get; } | Shared successful result, returned by most transport calls. |
Methods
| Member | What it is |
|---|
static NetworkTransportResult FromError(string error) | Makes a failed result with the given message. |