DbException.xml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Type Name="DbException" FullName="System.Data.Common.DbException">
  3. <TypeSignature Language="C#" Value="public abstract class DbException : System.Runtime.InteropServices.ExternalException" />
  4. <AssemblyInfo>
  5. <AssemblyName>System.Data</AssemblyName>
  6. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  7. </AssemblyInfo>
  8. <Base>
  9. <BaseTypeName>System.Runtime.InteropServices.ExternalException</BaseTypeName>
  10. </Base>
  11. <Interfaces />
  12. <Docs>
  13. <since version=".NET 2.0" />
  14. <remarks>
  15. <attribution license="cc4" from="Microsoft" modified="false" />
  16. <para>The <see cref="T:System.Data.Common.DbException" /> class is an abstract class used as the base class for provider-specific exception class implementations.</para>
  17. <para>For general information about handling exceptions for a .NET Framework data provider, see <see cref="T:System.Data.SqlClient.SqlException" />.</para>
  18. </remarks>
  19. <summary>
  20. <attribution license="cc4" from="Microsoft" modified="false" />
  21. <para>The base class for all exceptions thrown on behalf of the data source.</para>
  22. </summary>
  23. </Docs>
  24. <Members>
  25. <Member MemberName=".ctor">
  26. <MemberSignature Language="C#" Value="protected DbException ();" />
  27. <MemberType>Constructor</MemberType>
  28. <Parameters />
  29. <Docs>
  30. <since version=".NET 2.0" />
  31. <remarks>
  32. <attribution license="cc4" from="Microsoft" modified="false" />
  33. <para>The <see cref="T:System.Data.Common.DbException" /> class is an abstract class used as the base class for provider-specific exception class implementations.</para>
  34. </remarks>
  35. <summary>
  36. <attribution license="cc4" from="Microsoft" modified="false" />
  37. <para>Initializes a new instance of the <see cref="T:System.Data.Common.DbException" /> class.</para>
  38. </summary>
  39. </Docs>
  40. <AssemblyInfo>
  41. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  42. </AssemblyInfo>
  43. </Member>
  44. <Member MemberName=".ctor">
  45. <MemberSignature Language="C#" Value="protected DbException (string message);" />
  46. <MemberType>Constructor</MemberType>
  47. <Parameters>
  48. <Parameter Name="message" Type="System.String" />
  49. </Parameters>
  50. <Docs>
  51. <since version=".NET 2.0" />
  52. <remarks>
  53. <attribution license="cc4" from="Microsoft" modified="false" />
  54. <para>The <see cref="T:System.Data.Common.DbException" /> class is an abstract class used as the base class for provider-specific exception class implementations.</para>
  55. </remarks>
  56. <summary>
  57. <attribution license="cc4" from="Microsoft" modified="false" />
  58. <para>Initializes a new instance of the <see cref="T:System.Data.Common.DbException" /> class with the specified error message.</para>
  59. </summary>
  60. <param name="message">
  61. <attribution license="cc4" from="Microsoft" modified="false" />The message to display for this exception.</param>
  62. </Docs>
  63. <AssemblyInfo>
  64. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  65. </AssemblyInfo>
  66. </Member>
  67. <Member MemberName=".ctor">
  68. <MemberSignature Language="C#" Value="protected DbException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);" />
  69. <MemberType>Constructor</MemberType>
  70. <Parameters>
  71. <Parameter Name="info" Type="System.Runtime.Serialization.SerializationInfo" />
  72. <Parameter Name="context" Type="System.Runtime.Serialization.StreamingContext" />
  73. </Parameters>
  74. <Docs>
  75. <since version=".NET 2.0" />
  76. <remarks>
  77. <attribution license="cc4" from="Microsoft" modified="false" />
  78. <para>The <see cref="T:System.Data.Common.DbException" /> class is an abstract class used as the base class for provider-specific exception class implementations.</para>
  79. </remarks>
  80. <summary>
  81. <attribution license="cc4" from="Microsoft" modified="false" />
  82. <para>Initializes a new instance of the <see cref="T:System.Data.Common.DbException" /> class with the specified serialization information and context.</para>
  83. </summary>
  84. <param name="info">
  85. <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
  86. <param name="context">
  87. <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
  88. </Docs>
  89. <AssemblyInfo>
  90. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  91. </AssemblyInfo>
  92. </Member>
  93. <Member MemberName=".ctor">
  94. <MemberSignature Language="C#" Value="protected DbException (string message, Exception innerException);" />
  95. <MemberType>Constructor</MemberType>
  96. <Parameters>
  97. <Parameter Name="message" Type="System.String" />
  98. <Parameter Name="innerException" Type="System.Exception" />
  99. </Parameters>
  100. <Docs>
  101. <since version=".NET 2.0" />
  102. <remarks>
  103. <attribution license="cc4" from="Microsoft" modified="false" />
  104. <para>The <see cref="T:System.Data.Common.DbException" /> class is an abstract class used as the base class for provider-specific exception class implementations.</para>
  105. </remarks>
  106. <summary>
  107. <attribution license="cc4" from="Microsoft" modified="false" />
  108. <para>Initializes a new instance of the <see cref="T:System.Data.Common.DbException" /> class with the specified error message and a reference to the inner exception that is the cause of this exception.</para>
  109. </summary>
  110. <param name="message">
  111. <attribution license="cc4" from="Microsoft" modified="false" />The error message string.</param>
  112. <param name="innerException">
  113. <attribution license="cc4" from="Microsoft" modified="false" />The inner exception reference.</param>
  114. </Docs>
  115. <AssemblyInfo>
  116. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  117. </AssemblyInfo>
  118. </Member>
  119. <Member MemberName=".ctor">
  120. <MemberSignature Language="C#" Value="protected DbException (string message, int errorcode);" />
  121. <MemberType>Constructor</MemberType>
  122. <Parameters>
  123. <Parameter Name="message" Type="System.String" />
  124. <Parameter Name="errorcode" Type="System.Int32" />
  125. </Parameters>
  126. <Docs>
  127. <param name="errorcode">To be added.</param>
  128. <since version=".NET 2.0" />
  129. <remarks>
  130. <attribution license="cc4" from="Microsoft" modified="false" />
  131. <para>The <see cref="T:System.Data.Common.DbException" /> class is an abstract class used as the base class for provider-specific exception class implementations.</para>
  132. </remarks>
  133. <summary>
  134. <attribution license="cc4" from="Microsoft" modified="false" />
  135. <para>Initializes a new instance of the <see cref="T:System.Data.Common.DbException" /> class with the specified error message and error code.</para>
  136. </summary>
  137. <param name="message">
  138. <attribution license="cc4" from="Microsoft" modified="false" />The error message that explains the reason for the exception.</param>
  139. </Docs>
  140. <AssemblyInfo>
  141. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  142. </AssemblyInfo>
  143. </Member>
  144. </Members>
  145. </Type>