Diffusion .NET API
5.9.24
|
The reason provided with More...
Public Member Functions | |
override string | ToString () |
Returns a string that represents the current object. More... | |
bool | Equals (ErrorReason other) |
Indicates whether the current object is equal to another object of the same type. More... | |
override bool | Equals (object obj) |
Determines whether the specified T:System.Object is equal to the current T:System.Object. More... | |
override int | GetHashCode () |
Serves as a hash function for a particular type. More... | |
Static Public Member Functions | |
static bool | operator== (ErrorReason left, ErrorReason right) |
Override of the equality operator. More... | |
static bool | operator!= (ErrorReason left, ErrorReason right) |
Override of the unequality operator. More... | |
Static Public Attributes | |
static readonly ErrorReason | COMMUNICATION_FAILURE |
Communication with the server failed. More... | |
static readonly ErrorReason | SESSION_CLOSED |
Communication with the server failed because the session is closed. More... | |
static readonly ErrorReason | REQUEST_TIME_OUT |
Communication with the server failed because a service request timed out. More... | |
static readonly ErrorReason | ACCESS_DENIED |
The request was rejected because the caller has insufficient permissions. More... | |
static readonly ErrorReason | CALLBACK_EXCEPTION |
An application callback threw an exception. Check logs for more information. More... | |
static readonly ErrorReason | TOPIC_TREE_REGISTRATION_CONFLICT |
A conflicting, pre-existing registration exists on the same branch of the topic tree. More... | |
Properties | |
int | ReasonCode [get] |
A code that uniquely identifies this reason More... | |
The reason provided with
OnError
to a client side object.
An application can check whether an ErrorReason
is equal to some expected value using object.Equals(object). Equality is derived from the ReasonCode, with instances with equal codes considered equal.
Some common ErrorReason values are defined as constants in this class. More specific reasons may be defined by individual features.
bool PushTechnology.ClientInterface.Client.Callbacks.ErrorReason.Equals | ( | ErrorReason | other | ) |
Indicates whether the current object is equal to another object of the same type.
other | An object to compare with this object. |
override bool PushTechnology.ClientInterface.Client.Callbacks.ErrorReason.Equals | ( | object | obj | ) |
Determines whether the specified T:System.Object is equal to the current T:System.Object.
obj | The object to compare with the current object. |
<filterpriority>2</filterpriority>
override int PushTechnology.ClientInterface.Client.Callbacks.ErrorReason.GetHashCode | ( | ) |
Serves as a hash function for a particular type.
<filterpriority>2</filterpriority>
|
static |
Override of the unequality operator.
left | |
right |
|
static |
Override of the equality operator.
left | |
right |
override string PushTechnology.ClientInterface.Client.Callbacks.ErrorReason.ToString | ( | ) |
Returns a string that represents the current object.
<filterpriority>2</filterpriority>
|
static |
The request was rejected because the caller has insufficient permissions.
|
static |
An application callback threw an exception. Check logs for more information.
Since 5.9
|
static |
Communication with the server failed.
|
static |
Communication with the server failed because a service request timed out.
|
static |
Communication with the server failed because the session is closed.
|
static |
A conflicting, pre-existing registration exists on the same branch of the topic tree.
|
get |
A code that uniquely identifies this reason
Applications should rarely need to call this method and prefer Equals(object) to compare instances for equality.
Reasons defined by Push Technology have reason codes in the range 0 to 65535 inclusive.