<Type Name="WebException" FullName="System.Net.WebException" FullNameSP="System_Net_WebException" Maintainer="ecma">
  <TypeSignature Language="ILASM" Value=".class public serializable WebException extends System.InvalidOperationException" />
  <TypeSignature Language="C#" Value="public class WebException : InvalidOperationException" />
  <MemberOfLibrary>Networking</MemberOfLibrary>
  <AssemblyInfo>
    <AssemblyName>System</AssemblyName>
    <AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ]</AssemblyPublicKey>
    <AssemblyVersion>1.0.x.x</AssemblyVersion>
    <AssemblyCulture>none</AssemblyCulture>
    <Attributes>
      <Attribute>
        <AttributeName>CLSCompliantAttribute(true)</AttributeName>
        <Excluded>0</Excluded>
      </Attribute>
    </Attributes>
  </AssemblyInfo>
  <ThreadingSafetyStatement>All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.</ThreadingSafetyStatement>
  <Docs>
    <summary>
      <para> Represents an error that occurs
 while accessing the Internet through a pluggable protocol.</para>
    </summary>
    <remarks>
      <block subset="none" type="note">
        <para>
          <see cref="T:System.Net.WebException" /> is thrown by classes
 derived from <see cref="T:System.Net.WebRequest" /> and <see cref="T:System.Net.WebResponse" /> that implement pluggable
 protocols when an error occurs in
 while accessing the Internet.</para>
        <para>When <see cref="T:System.Net.WebException" /> is thrown by a method in a class derived from <see cref="T:System.Net.WebRequest" /> ,
 the <see cref="P:System.Net.WebException.Response" /> property provides the Internet response to the
 application.</para>
      </block>
    </remarks>
  </Docs>
  <Base>
    <BaseTypeName>System.InvalidOperationException</BaseTypeName>
  </Base>
  <Interfaces />
  <Members>
    <Member MemberName=".ctor">
      <MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor()" />
      <MemberSignature Language="C#" Value="public WebException();" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters />
      <Docs>
        <summary>
          <para>Constructs and initializes a new instance of the <see cref="T:System.Net.WebException" /> class.</para>
        </summary>
        <remarks>
          <para>This constructor initializes the <see cref="!:System.Net.WebException.Message" /> property of the new
   instance to a system-supplied message that describes the error. This message takes
   into account the current system culture. The <see cref="!:System.Net.WebException.InnerException" />, <see cref="P:System.Net.WebException.Status" />, and <see cref="P:System.Net.WebException.Response" /> properties of the new instance are initialized
   to <see langword="null" />. </para>
        </remarks>
      </Docs>
      <Excluded>0</Excluded>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor(string message)" />
      <MemberSignature Language="C#" Value="public WebException(string message);" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters>
		<Parameter Name="message" Type="System.String" />
	</Parameters>
      <Docs>
        <summary>
          <para>Constructs and initializes a new instance of the <see cref="T:System.Net.WebException" />
class.</para>
        </summary>
        <param name="message">A <see cref="T:System.String" /> that describes the error. The content of <paramref name="message" /> is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.</param>
        <remarks>
          <para> This constructor initializes the <see cref="!:System.Net.WebException.Message" /> property of the new instance using <paramref name="message" />. If <paramref name="message" /> is 
<see langword="null" />, the <see cref="!:System.Net.WebException.Message" /> property is initialized to the 
   system-supplied message provided by the constructor that takes no arguments.</para>
          <para> The <see cref="!:System.Net.WebException.InnerException" />, <see cref="P:System.Net.WebException.Status" />,
and <see cref="P:System.Net.WebException.Response" /> properties of the new instance are
initialized to <see langword="null" />.</para>
        </remarks>
      </Docs>
      <Excluded>0</Excluded>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor(string message, class System.Exception innerException)" />
      <MemberSignature Language="C#" Value="public WebException(string message, Exception innerException);" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters>
		<Parameter Name="message" Type="System.String" />
		<Parameter Name="innerException" Type="System.Exception" />
	</Parameters>
      <Docs>
        <summary>
          <para>Constructs and initializes a new instance of the <see cref="T:System.Net.WebException" />
class.</para>
        </summary>
        <param name="message">A <see cref="T:System.String" /> that describes the error. The content of <paramref name="message" /> is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.</param>
        <param name="innerException">An instance of <see cref="T:System.Exception" /> that is the cause of the current exception. If <paramref name="innerException" /> is non-null, then the current Exception was raised in a catch block handling <paramref name="innerException" /> .</param>
        <remarks>
          <para>This constructor initializes the <see cref="!:System.Net.WebException.Message" />
property of the new instance using <paramref name="message" /> and the <see cref="!:System.Net.WebException.InnerException" /> property using <paramref name="innerException" />. If <paramref name="message" /> is
<see langword="null" />, the <see cref="!:System.Net.WebException.Message" /> property is initialized to the 
system-supplied message provided by the constructor that takes no arguments.</para>
          <para> The
<see cref="P:System.Net.WebException.Status" />, and <see cref="P:System.Net.WebException.Response" /> properties of the new 
   instance are initialized to <see langword="null" /> .</para>
          <para>
            <block subset="none" type="note">For more information on inner
   exceptions, see <see cref="P:System.Exception.InnerException" />.</block>
          </para>
        </remarks>
      </Docs>
      <Excluded>0</Excluded>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor(string message, valuetype System.Net.WebExceptionStatus status)" />
      <MemberSignature Language="C#" Value="public WebException(string message, WebExceptionStatus status);" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters>
		<Parameter Name="message" Type="System.String" />
		<Parameter Name="status" Type="System.Net.WebExceptionStatus" />
	</Parameters>
      <Docs>
        <summary>
          <para>Constructs and initializes a new instance of the <see cref="T:System.Net.WebException" />
class.</para>
        </summary>
        <param name="message">A <see cref="T:System.String" /> that describes the error. The content of <paramref name="message" /> is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.</param>
        <param name="status">A <see cref="T:System.Net.WebExceptionStatus" /> value that describes the status of the network connection after the exception is thrown.</param>
        <remarks>
          <para>This constructor initializes the <see cref="!:System.Net.WebException.Message" /> property of the new instance using <paramref name="message" /> and <see cref="P:System.Net.WebException.Status" /> using <paramref name="status" />. If <paramref name="message" /> is <see langword="null" />, 
   the <see cref="!:System.Net.WebException.Message" /> property is initialized to the system-supplied
   message provided by the constructor that takes no arguments.</para>
          <para> The <see cref="!:System.Net.WebException.InnerException" /> and <see cref="P:System.Net.WebException.Response" /> properties of the new
instance are initialized to <see langword="null" />.</para>
        </remarks>
      </Docs>
      <Excluded>0</Excluded>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor(string message, class System.Exception innerException, valuetype System.Net.WebExceptionStatus status, class System.Net.WebResponse response)" />
      <MemberSignature Language="C#" Value="public WebException(string message, Exception innerException, WebExceptionStatus status, WebResponse response);" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters>
		<Parameter Name="message" Type="System.String" />
		<Parameter Name="innerException" Type="System.Exception" />
		<Parameter Name="status" Type="System.Net.WebExceptionStatus" />
		<Parameter Name="response" Type="System.Net.WebResponse" />
	</Parameters>
      <Docs>
        <summary>
          <para>Constructs and initializes a new instance of the <see cref="T:System.Net.WebException" /> class with the specified error
   message, nested exception, status, and response.</para>
        </summary>
        <param name="message">A <see cref="T:System.String" /> that describes the error. The content of <paramref name="message" /> is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.</param>
        <param name="innerException">An instance of <see cref="T:System.Exception" /> that is the cause of the current exception. If <paramref name="innerException" /> is non-null, then the current Exception was raised in a catch block handling <paramref name="innerException" /> .</param>
        <param name="status">A <see cref="T:System.Net.WebExceptionStatus" /> value that describes the status of the network connection after the exception is thrown.</param>
        <param name="response">A <see cref="T:System.Net.WebResponse" /> instance containing the response from the host.</param>
        <remarks>
          <para>This constructor initializes the <see cref="!:System.Net.WebException.Message" /> property of the new instance using
<paramref name="message, " />the <see cref="P:System.Net.WebException.Status" /> 
property using <paramref name="status" />, the <see cref="!:System.Net.WebException.InnerException" /> property using <paramref name="innerException" />,
and the <see cref="P:System.Net.WebException.Response" /> property
using <paramref name="response" />. If <paramref name="message" /> is <see langword="null" />,
the <see cref="!:System.Net.WebException.Message" /> property is initialized to the system-supplied
message provided by the constructor that takes no arguments.</para>
        </remarks>
      </Docs>
      <Excluded>0</Excluded>
    </Member>
    <Member MemberName="Status">
      <MemberSignature Language="ILASM" Value=".property valuetype System.Net.WebExceptionStatus Status { public hidebysig specialname instance valuetype System.Net.WebExceptionStatus get_Status() }" />
      <MemberSignature Language="C#" Value="public WebExceptionStatus Status { get; }" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.Net.WebExceptionStatus</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>
          <para> Gets a value that indicates the status of the response.
      </para>
        </summary>
        <value>
          <para> A <see cref="T:System.Net.WebExceptionStatus" /> value that indicates the status of the
   response.</para>
        </value>
        <remarks>
          <para>This property is read-only.</para>
          <para>The <see cref="P:System.Net.WebException.Status" /> property indicates the reason for the current 
   exception.</para>
        </remarks>
      </Docs>
      <Excluded>0</Excluded>
    </Member>
    <Member MemberName="Response">
      <MemberSignature Language="ILASM" Value=".property class System.Net.WebResponse Response { public hidebysig specialname instance class System.Net.WebResponse get_Response() }" />
      <MemberSignature Language="C#" Value="public WebResponse Response { get; }" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.Net.WebResponse</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>
          <para> Gets the <see cref="T:System.Net.WebResponse" /> that the host returned.</para>
        </summary>
        <value>
          <para> A <see cref="T:System.Net.WebResponse" /> instance containing the
   error response if one is available; otherwise, <see langword="null" />
   .</para>
        </value>
        <remarks>
          <para>This property is read-only.</para>
          <para>
            <block subset="none" type="note">Some Internet protocols, such as HTTP, return otherwise
      valid responses indicating that an error has occurred at the protocol level.
      When the response to an Internet request indicates an error, <see cref="M:System.Net.WebRequest.GetResponse" qualify="true" />
      sets the <see cref="P:System.Net.WebException.Status" />
      property to <see cref="F:System.Net.WebExceptionStatus.ProtocolError" qualify="true" /> and
      provides
      the <see cref="T:System.Net.WebResponse" /> containing the error message in the
   <see cref="P:System.Net.WebException.Response" /> property of the <see cref="T:System.Net.WebException" />
   that was
   thrown. The <see cref="T:System.Net.WebResponse" /> can be examined to
   determine the actual error.</block>
          </para>
        </remarks>
      </Docs>
      <Excluded>0</Excluded>
    </Member>
  <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="protected WebException(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext)" />
      <MemberType>Constructor</MemberType>
      <Parameters>
        <Parameter Name="serializationInfo" Type="System.Runtime.Serialization.SerializationInfo" />
        <Parameter Name="streamingContext" Type="System.Runtime.Serialization.StreamingContext" />
      </Parameters>
      <Docs>
        <summary>To be added.</summary>
        <param name="serializationInfo">To be added.</param>
        <param name="streamingContext">To be added.</param>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
  </Members>
  <TypeExcluded>0</TypeExcluded>
</Type>
