Diffusion .NET Classic API - Core and Common  5.9.4
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
PushTechnology.DiffusionCore.Connection.Connectors.ExternalClient.Service.ServiceErrorType Class Reference

Service error types. More...

Public Member Functions

 ServiceErrorType (string code)
 Constructor. More...
 

Static Public Member Functions

static ServiceErrorType Parse (string option)
 Returns the option associated with a given type code. More...
 

Public Attributes

const string Service = "SRV"
 A problem has occurred whilst executing the service at the server. More...
 
const string Duplicate = "DUP"
 Duplicate request identifier. More...
 
const string Timeout = "TIM"
 Request timed out. More...
 
const string Invalid = "INV"
 Request invalid. More...
 
const string User = "USR"
 Error reported by user-written service handler. More...
 
const string Unknown = ""
 Unknown error type. More...
 

Properties

string Code [get, set]
 The code corresponding to the page option. More...
 

Detailed Description

Service error types.

Constructor & Destructor Documentation

PushTechnology.DiffusionCore.Connection.Connectors.ExternalClient.Service.ServiceErrorType.ServiceErrorType ( string  code)

Constructor.

Parameters
code

Member Function Documentation

static ServiceErrorType PushTechnology.DiffusionCore.Connection.Connectors.ExternalClient.Service.ServiceErrorType.Parse ( string  option)
static

Returns the option associated with a given type code.

Parameters
optionOption type code (case insensitive).
Returns
The option, or null if not valid.

Member Data Documentation

const string PushTechnology.DiffusionCore.Connection.Connectors.ExternalClient.Service.ServiceErrorType.Duplicate = "DUP"

Duplicate request identifier.

const string PushTechnology.DiffusionCore.Connection.Connectors.ExternalClient.Service.ServiceErrorType.Invalid = "INV"

Request invalid.

const string PushTechnology.DiffusionCore.Connection.Connectors.ExternalClient.Service.ServiceErrorType.Service = "SRV"

A problem has occurred whilst executing the service at the server.

const string PushTechnology.DiffusionCore.Connection.Connectors.ExternalClient.Service.ServiceErrorType.Timeout = "TIM"

Request timed out.

const string PushTechnology.DiffusionCore.Connection.Connectors.ExternalClient.Service.ServiceErrorType.Unknown = ""

Unknown error type.

const string PushTechnology.DiffusionCore.Connection.Connectors.ExternalClient.Service.ServiceErrorType.User = "USR"

Error reported by user-written service handler.

Property Documentation

string PushTechnology.DiffusionCore.Connection.Connectors.ExternalClient.Service.ServiceErrorType.Code
getset

The code corresponding to the page option.