WebException

WebException CF 1.0, ECMA 1.0, serializable

System.Net (system.dll) class

This exception represents an error that occurred while using a protocol-specific implementation of WebRequest . In the case of some protocols, such as HTTP, the exception's Response property contains information about the error that occurred.

 public class  WebException  : InvalidOperationException {  // Public Constructors  public  WebException  ( );    public  WebException  (string   message   );    public  WebException  (string   message   , Exception   innerException   );    public  WebException  (string   message   , Exception   innerException   , WebExceptionStatus   status   ,          WebResponse   response   );    public  WebException  (string   message   , WebExceptionStatus   status   );  // Protected Constructors  protected  WebException  (System.Runtime.Serialization.SerializationInfo   serializationInfo   ,        System.Runtime.Serialization.StreamingContext   streamingContext   );  // Public Instance Properties  public WebResponse  Response  {get; }    public WebExceptionStatus  Status  {get; } } 

Hierarchy

System.Object System.Exception(System.Runtime.Serialization.ISerializable) System.SystemException System.InvalidOperationException WebException



C# in a Nutshell
C # in a Nutshell, Second Edition
ISBN: 0596005261
EAN: 2147483647
Year: 2005
Pages: 963

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net