Export (0) Print
Expand All

WebException Properties

The properties of the WebException class are listed here. For a complete list of WebException class members, see the WebException Members topic.

Public Properties

public propertyHelpLink (inherited from Exception) Gets or sets a link to the help file associated with this exception.
public propertyInnerException (inherited from Exception)

Supported by the .NET Compact Framework.

Gets the Exception instance that caused the current exception.
public propertyMessage (inherited from Exception)

Supported by the .NET Compact Framework.

Gets a message that describes the current exception.
public propertyResponse

Supported by the .NET Compact Framework.

Gets the response that the remote host returned.
public propertySource (inherited from Exception) Gets or sets the name of the application or the object that causes the error.
public propertyStackTrace (inherited from Exception) Gets a string representation of the frames on the call stack at the time the current exception was thrown.
public propertyStatus

Supported by the .NET Compact Framework.

Gets the status of the response.
public propertyTargetSite (inherited from Exception) Gets the method that throws the current exception.

Protected Properties

protected propertyHResult (inherited from Exception) Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception.

See Also

WebException Class | System.Net Namespace

Show:
© 2014 Microsoft