﻿<?xml version="1.0" encoding="utf-8"?><Type Name="NetworkInformationException" FullName="System.Net.NetworkInformation.NetworkInformationException"><TypeSignature Language="C#" Value="public class NetworkInformationException : System.ComponentModel.Win32Exception" /><TypeSignature Language="ILAsm" Value=".class public auto ansi serializable beforefieldinit NetworkInformationException extends System.ComponentModel.Win32Exception" /><AssemblyInfo><AssemblyName>System</AssemblyName><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Base><BaseTypeName>System.ComponentModel.Win32Exception</BaseTypeName></Base><Interfaces /><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Types in the <see cref="N:System.Net.NetworkInformation" /> namespace throw this exception when a call to a Win32 function fails. The <see cref="P:System.Net.NetworkInformation.NetworkInformationException.ErrorCode" /> property contains the result returned by the function.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>The exception that is thrown when an error occurs while retrieving network information.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public NetworkInformationException ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters /><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This constructor sets the <see cref="P:System.Net.NetworkInformation.NetworkInformationException.ErrorCode" /> property to the most recent Win32 error.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Net.NetworkInformation.NetworkInformationException" /> class.</para></summary></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public NetworkInformationException (int errorCode);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(int32 errorCode) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters><Parameter Name="errorCode" Type="System.Int32" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This constructor sets the value of the <see cref="P:System.Net.NetworkInformation.NetworkInformationException.ErrorCode" /> property to <paramref name="errorCode" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Net.NetworkInformation.NetworkInformationException" /> class with the specified error code.</para></summary><param name="errorCode"><attribution license="cc4" from="Microsoft" modified="false" />A Win32 error code. </param></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="protected NetworkInformationException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);" /><MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(class System.Runtime.Serialization.SerializationInfo info, valuetype System.Runtime.Serialization.StreamingContext context) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters><Parameter Name="info" Type="System.Runtime.Serialization.SerializationInfo" /><Parameter Name="context" Type="System.Runtime.Serialization.StreamingContext" /></Parameters><Docs><param name="info">To be added.</param><param name="context">To be added.</param><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This constructor is used by the system to create a <see cref="T:System.Net.NetworkInformation.NetworkInformationException" /> instance from serialized data.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Net.NetworkInformation.NetworkInformationException" /> class with serialized data.</para></summary></Docs></Member><Member MemberName="ErrorCode"><MemberSignature Language="C#" Value="public override int ErrorCode { get; }" /><MemberSignature Language="ILAsm" Value=".property instance int32 ErrorCode" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Docs><value>To be added.</value><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The value of this property is set by the constructor. This property is overridden to return a Win32 error code instead of an HRESULT value.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the Win32 error code for this exception.</para></summary></Docs></Member></Members></Type>