1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209
|
<Type Name="XmlException" FullName="System.Xml.XmlException" FullNameSP="System_Xml_XmlException" Maintainer="ecma">
<TypeSignature Language="ILASM" Value=".class public serializable XmlException extends System.SystemException" />
<TypeSignature Language="C#" Value="public class XmlException : System.SystemException" />
<MemberOfLibrary>XML</MemberOfLibrary>
<AssemblyInfo>
<AssemblyName>System.Xml</AssemblyName>
<AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ]</AssemblyPublicKey>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
</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 the error that occurs when
an XML document or fragment cannot be parsed.</para>
</summary>
<remarks>To be added.</remarks>
</Docs>
<Base>
<BaseTypeName>System.SystemException</BaseTypeName>
</Base>
<Interfaces />
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor()" />
<MemberSignature Language="C#" Value="public XmlException ();" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs>
<summary>
<para>Constructs and initializes a new instance of the <see cref="T:System.Xml.XmlException" /> class.</para>
</summary>
<remarks>
<para>This constructor initializes the <see cref="P:System.Xml.XmlException.Message" /> property of the new instance to a system-supplied message that describes the error, such as "An XML error has occurred." This message takes into account the current system culture.</para>
<para>The <see cref="!:System.Xml.XmlException.InnerException" /> property is initialized to <see langword="null" />. The <see cref="P:System.Xml.XmlException.LineNumber" /> and <see cref="P:System.Xml.XmlException.LinePosition" /> properties are initialized to zero.</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 XmlException (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.Xml.XmlException" /> 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="P:System.Xml.XmlException.Message" /> property of the new instance using <paramref name="message" />. If the <paramref name="message" /> parameter is <see langword="null" />, the <see cref="P:System.Xml.XmlException.Message" /> property is initialized to the system-supplied message provided by the constructor that takes no arguments.</para>
<para>The <see cref="!:System.Xml.XmlException.InnerException" /> property is initialized to <see langword="null" />. The <see cref="P:System.Xml.XmlException.LineNumber" /> and <see cref="P:System.Xml.XmlException.LinePosition" /> properties are initialized to zero.</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, int32 lineNumber, int32 linePosition)" />
<MemberSignature Language="C#" Value="public XmlException (string message, Exception innerException, int lineNumber, int linePosition);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="message" Type="System.String" />
<Parameter Name="innerException" Type="System.Exception" />
<Parameter Name="lineNumber" Type="System.Int32" />
<Parameter Name="linePosition" Type="System.Int32" />
</Parameters>
<Docs>
<summary>
<para>Constructs and initializes a new instance of the <see cref="T:System.Xml.XmlException" /> 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>
<param name="lineNumber">A <see cref="T:System.Int32" /> that specifies the line number where the error occurred.</param>
<param name="linePosition">A <see cref="T:System.Int32" /> that specifies the character position where the error occurred.</param>
<remarks>
<para>This constructor initializes the <see cref="P:System.Xml.XmlException.Message" /> property of the new instance using <paramref name="message" />, the <see cref="!:System.Xml.XmlException.InnerException" /> property using <paramref name="innerException" />, the <see cref="P:System.Xml.XmlException.LineNumber" /> property using <paramref name="lineNumber" />, and the <see cref="P:System.Xml.XmlException.LinePosition" /> property using <paramref name="linePosition" />. If the <paramref name="message" /> parameter is <see langword="null" />, the <see cref="P:System.Xml.XmlException.Message" /> property is initialized to the system-supplied message provided by the constructor that takes no arguments.</para>
<para>
<block subset="none" type="note"> For 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, class System.Exception innerException)" />
<MemberSignature Language="C#" Value="public XmlException (string message, Exception innerException);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="message" Type="System.String" />
<Parameter Name="innerException" Type="System.Exception" />
</Parameters>
<Docs>
<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 not a <see langword="null" /> reference, the current exception was raised in a catch block handling <paramref name="innerException" />.</param>
<summary>
<para>Constructs and initializes a new instance of the <see cref="T:System.Xml.XmlException" /> class.</para>
</summary>
<remarks>
<para>This constructor initializes the <see cref="P:System.Xml.XmlException.Message" /> property
of the new instance using <paramref name="message" /> and the <see cref="!:System.Xml.XmlException.InnerException" /> property using
<paramref name="innerException" />. If the <paramref name="message" /> parameter is
<see langword="null" />, the <see cref="P:System.Xml.XmlException.Message" /> property is set to the system-supplied
message provided by the constructor that takes no arguments. </para>
<para>The <see cref="P:System.Xml.XmlException.LineNumber" /> and <see cref="P:System.Xml.XmlException.LinePosition" /> properties are initialized to zero. </para>
<para>
<block subset="none" type="note"> For more information on inner
exceptions, see <see cref="P:System.Exception.InnerException" />.</block>
</para>
</remarks>
<param name="innerException">To be added.</param>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="Message">
<MemberSignature Language="ILASM" Value=".property string Message { public hidebysig virtual specialname string get_Message() }" />
<MemberSignature Language="C#" Value="public override string Message { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Gets the error message that describes the current exception.</para>
</summary>
<value>
<para> A <see cref="T:System.String" /> containing the error message that describes the current exception.</para>
</value>
<remarks>
<para>This property is read-only.</para>
<para>If the <see cref="P:System.Xml.XmlException.LineNumber" /> property is not equal to zero, the
string returned by this property includes the values of the <see cref="P:System.Xml.XmlException.LineNumber" /> and <see cref="P:System.Xml.XmlException.LinePosition" /> properties.</para>
<para>
<block subset="none" type="note">This property overrides <see cref="P:System.Exception.Message" />.</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="LineNumber">
<MemberSignature Language="ILASM" Value=".property int32 LineNumber { public hidebysig specialname instance int32 get_LineNumber() }" />
<MemberSignature Language="C#" Value="public int LineNumber { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para> Gets the line number where the
error occurred.</para>
</summary>
<value>
<para>A <see cref="T:System.Int32" /> containing the line number where the
error occurred.</para>
</value>
<remarks>
<para>This property is read-only.</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="LinePosition">
<MemberSignature Language="ILASM" Value=".property int32 LinePosition { public hidebysig specialname instance int32 get_LinePosition() }" />
<MemberSignature Language="C#" Value="public int LinePosition { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para> Gets the character position where the
error occurred.</para>
</summary>
<value>
<para>A <see cref="T:System.Int32" /> containing the character position where
the error occurred.</para>
</value>
<remarks>
<para>This property is read-only.</para>
<para>The first character in the line is in position 1. Note that white space
characters at the start of the line are not skipped.</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected XmlException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);" />
<MemberType>Constructor</MemberType>
<Parameters>
<Parameter Name="info" Type="System.Runtime.Serialization.SerializationInfo" />
<Parameter Name="context" Type="System.Runtime.Serialization.StreamingContext" />
</Parameters>
<Docs>
<summary>To be added.</summary>
<param name="info">To be added.</param>
<param name="context">To be added.</param>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
<TypeExcluded>0</TypeExcluded>
</Type>
|