Export (0) Print
Expand All

SocketException Properties

The SocketException type exposes the following members.

  NameDescription
Public property Data Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Inherited from Exception.)
Public property Supported by the .NET Compact Framework 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.)
Protected property Supported by the .NET Compact Framework HResult Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Inherited from Exception.)
Public property Supported by the .NET Compact Framework InnerException Gets the Exception instance that caused the current exception. (Inherited from Exception.)
Public property Supported by the .NET Compact Framework Message Gets the error message that is associated with this exception. (Overrides Exception.Message.)

In .NET Compact Framework 3.5, this member is inherited from Exception.Message.
Public property Supported by the .NET Compact Framework 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 Supported by the .NET Compact Framework StackTrace Gets a string representation of the frames on the call stack at the time the current exception was thrown. (Inherited from Exception.)
Public property TargetSite Gets the method that throws the current exception. (Inherited from Exception.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft