AsyncWcfLib

WcfErrorMessage.Code Enumeration

Most Error-Codes uniquely definies the code position where the error occured.

public enum Code

Members

Member Name Description
Undef Code not set or unknown.
Ok No error.
AppUnhandledExceptionOnService An exception occured while executing the request in the service-application. Set by library user.
AppRequestNotAcceptedByService The service-application does not know or does not accept this request. Set by library user.
AppServiceNotReady The request could not be handled by the service-application as some subsystems are not ready. Set by library user.
AppDataNotAvailableInService The request could not be handled by the service-application as the data is not available. Set by library user.
LastAppCode This and enum values up to NotConnected are internally mapped to 'Undef' (used to check version compatibility).
NotConnected Cannot send as the client is not (yet) connected.
CouldNotOpen Cannot open the client (configuration error).
ServiceNotRunning Cannot open the service connection (refused by target).
RouterNotRunning Cannot open the router connection (refused by target).
CouldNotStartConnect Exception while sending (serializing) the first connect message.
CouldNotConnect No response from service, when trying to connect.
CouldNotConnectRouter Wrong response from WCF router, when trying to connect.
CouldNotStartSend Exception while sending (serializing) a message.
CouldNotSend Exception received when waiting for response.
CouldNotDispatch Error while dispaching a message to another thread inside the application.
TimeoutOnClient The service did not respond in time. Detected by client.
TimeoutOnService The service did not respond in time. Detected by service itself.
ReqOrRspNotSerializableOnService Exception while deserializing or serializing on service side.
RspNotDeserializableOnClient null message received.
RequestTypeUnknownOnService The request-message-type is not registered as a known type on this service.
ClientIdNotFoundOnService Request with unknown client id.
ClientDetectedUnhandledExceptionOnService An exception occured while executing the request in the service-application.
UnhandledExceptionOnService An exception occured while executing the request in the service-application.
Last This and higher enum values are internally mapped to 'Undef' (used to check version compatibility).

Requirements

Namespace: SourceForge.AsyncWcfLib

Assembly: SF.AsyncWcfLib (in SF.AsyncWcfLib.dll)

See Also

SourceForge.AsyncWcfLib Namespace