Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

ProxySocketException Class

Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9147)

The exception that is thrown when a proxy error or socket error occurs.

Syntax
public class ProxySocketException : NetworkSessionException, ISerializable
Inheritance
Object
Exception
NetworkSessionException
ProxySocketException
Implements
ISerializable
Inherited Members
NetworkSessionException.ProtocolCode
NetworkSessionException.ProtocolMessage
Exception.Data
Exception.GetBaseException()
Exception.GetType()
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.SerializeObjectState
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)

Constructors

Name Description
ProxySocketException(SocketException)

Initializes a new instance of the ProxySocketException class with the reference to the socket exception that is the cause of this exception.

ProxySocketException(String, ProxySocketExceptionStatus)

Initializes a new instance of the ProxySocketException class with the specified error message and status.

ProxySocketException(String, ProxySocketExceptionStatus, Exception)

Initializes a new instance of the ProxySocketException class with the specified error message, status, and a reference to the inner exception that is the cause of this exception.

Properties

Name Description
ErrorCode

Gets the error code associated with this exception if the error status is SocketError or ProtocolError. Returns 0 otherwise.

ProtocolCode

Gets the protocol error code, if available (usually when Status is set to ProtocolError). Inherited from NetworkSessionException.

ProtocolMessage

Gets the protocol error message, if available (usually when Status is set to ProtocolError). Inherited from NetworkSessionException.

Status

Gets the status of the error.

Methods

Name Description
GetSocketExceptionMessage(SocketException)

Returns an exception message for the supplied SocketException.

In This Article
  • Constructors
  • Properties
  • Methods
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies