328 lines
19 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<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 : SystemException" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi serializable beforefieldinit XmlException extends 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>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.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>
<Base>
<BaseTypeName>System.SystemException</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Returns detailed information about the last exception.</para>
</summary>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor()" />
<MemberSignature Language="C#" Value="public XmlException ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue />
<Parameters />
<Docs>
<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>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the XmlException class.</para>
</summary>
</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);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string message) cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue />
<Parameters>
<Parameter Name="message" Type="System.String" />
</Parameters>
<Docs>
<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>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the XmlException class with a specified error message.</para>
</summary>
<param name="message">
<attribution license="cc4" from="Microsoft" modified="false" />The error description. </param>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected XmlException (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>1.0.5000.0</AssemblyVersion>
<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>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the XmlException class using the information in the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> and <see cref="T:System.Runtime.Serialization.StreamingContext" /> objects.</para>
</summary>
<param name="info">
<attribution license="cc4" from="Microsoft" modified="false" />The SerializationInfo object containing all the properties of an XmlException. </param>
<param name="context">
<attribution license="cc4" from="Microsoft" modified="false" />The StreamingContext object containing the context information. </param>
</Docs>
</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);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string message, class System.Exception innerException) cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue />
<Parameters>
<Parameter Name="message" Type="System.String" />
<Parameter Name="innerException" Type="System.Exception" />
</Parameters>
<Docs>
<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">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Exception" /> that threw the XmlException, if any. This value can be null. </param>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the XmlException class.</para>
</summary>
<param name="message">
<attribution license="cc4" from="Microsoft" modified="false" />The description of the error condition. </param>
<param name="innerException">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Exception" /> that threw the XmlException, if any. This value can be null. </param>
</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);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string message, class System.Exception innerException, int32 lineNumber, int32 linePosition) cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<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>
<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>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the XmlException class with the specified message, inner exception, line number, and line position.</para>
</summary>
<param name="message">
<attribution license="cc4" from="Microsoft" modified="false" />The error description. </param>
<param name="innerException">
<attribution license="cc4" from="Microsoft" modified="false" />The exception that is the cause of the current exception. This value can be null. </param>
<param name="lineNumber">
<attribution license="cc4" from="Microsoft" modified="false" />The line number indicating where the error occurred. </param>
<param name="linePosition">
<attribution license="cc4" from="Microsoft" modified="false" />The line position indicating where the error occurred. </param>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="GetObjectData">
<MemberSignature Language="C#" Value="public override void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance void GetObjectData(class System.Runtime.Serialization.SerializationInfo info, valuetype System.Runtime.Serialization.StreamingContext context) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="info" Type="System.Runtime.Serialization.SerializationInfo" />
<Parameter Name="context" Type="System.Runtime.Serialization.StreamingContext" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Streams all the XmlException properties into the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> class for the given <see cref="T:System.Runtime.Serialization.StreamingContext" />.</para>
</summary>
<param name="info">
<attribution license="cc4" from="Microsoft" modified="false" />The SerializationInfo object. </param>
<param name="context">
<attribution license="cc4" from="Microsoft" modified="false" />The StreamingContext object. </param>
</Docs>
</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; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 LineNumber" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<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>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the line number indicating where the error occurred.</para>
</summary>
</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; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 LinePosition" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<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>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the line position indicating where the error occurred.</para>
</summary>
</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; }" />
<MemberSignature Language="ILAsm" Value=".property instance string Message" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<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>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets a message describing the current exception.</para>
</summary>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="SourceUri">
<MemberSignature Language="C#" Value="public string SourceUri { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string SourceUri" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>To be added.</remarks>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the location of the XML file.</para>
</summary>
</Docs>
</Member>
</Members>
<TypeExcluded>0</TypeExcluded>
</Type>