Export (0) Print
Expand All

SocketException Properties

The SocketException type exposes the following members.

  Name Description
Public property Data Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Inherited from Exception.)
Public property ErrorCode Gets the error code that is associated with this exception. (Overrides ExternalException.ErrorCode.)
Public property HelpLink Gets or sets a link to the help file associated with this exception. (Inherited from Exception.)
Public property HResult Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Inherited from Exception.)
Public property InnerException Gets the Exception instance that caused the current exception. (Inherited from Exception.)
Public property Message Gets the error message that is associated with this exception. (Overrides Exception.Message.)
Public property NativeErrorCode Gets the Win32 error code associated with this exception. (Inherited from Win32Exception.)
Public property SocketErrorCode Gets the error code that is associated with this exception.
Public property Source Gets or sets the name of the application or the object that causes the error. (Inherited from Exception.)
Public property StackTrace Gets a string representation of the immediate frames on the call stack. (Inherited from Exception.)
Public property TargetSite Gets the method that throws the current exception. (Inherited from Exception.)
Top
Show:
© 2014 Microsoft