OdbcException.xml 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Type Name="OdbcException" FullName="System.Data.Odbc.OdbcException">
  3. <TypeSignature Language="C#" Value="public sealed class OdbcException : System.Data.Common.DbException" />
  4. <AssemblyInfo>
  5. <AssemblyName>System.Data</AssemblyName>
  6. <AssemblyVersion>1.0.5000.0</AssemblyVersion>
  7. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  8. </AssemblyInfo>
  9. <Base>
  10. <BaseTypeName>System.Data.Common.DbException</BaseTypeName>
  11. </Base>
  12. <Interfaces />
  13. <Docs>
  14. <remarks>
  15. <attribution license="cc4" from="Microsoft" modified="false" />
  16. <para>This class is created whenever the <see cref="T:System.Data.Odbc.OdbcDataAdapter" /> encounters an error generated by the server (Client-side errors are raised as standard common language runtime exceptions.). It always contains at least one instance of <see cref="T:System.Data.Odbc.OdbcError" />.</para>
  17. <para>If the severity of the error is too great, the server may close the <see cref="T:System.Data.Odbc.OdbcConnection" />. However, the user can reopen the connection and continue.</para>
  18. <para>For general information about handling exceptions for a .NET Framework data provider, see <see cref="T:System.Data.SqlClient.SqlException" />.</para>
  19. </remarks>
  20. <summary>
  21. <attribution license="cc4" from="Microsoft" modified="false" />
  22. <para>The exception that is generated when a warning or error is returned by an ODBC data source. This class cannot be inherited.</para>
  23. </summary>
  24. </Docs>
  25. <Members>
  26. <Member MemberName="Errors">
  27. <MemberSignature Language="C#" Value="public System.Data.Odbc.OdbcErrorCollection Errors { get; }" />
  28. <MemberType>Property</MemberType>
  29. <ReturnValue>
  30. <ReturnType>System.Data.Odbc.OdbcErrorCollection</ReturnType>
  31. </ReturnValue>
  32. <Docs>
  33. <value>To be added.</value>
  34. <remarks>
  35. <attribution license="cc4" from="Microsoft" modified="false" />
  36. <para>This property is a wrapper for the <see cref="T:System.Data.Odbc.OdbcErrorCollection" />.</para>
  37. </remarks>
  38. <summary>
  39. <attribution license="cc4" from="Microsoft" modified="false" />
  40. <para>Gets a collection of one or more <see cref="T:System.Data.Odbc.OdbcError" /> objects that give detailed information about exceptions generated by the .NET Framework Data Provider for ODBC.</para>
  41. </summary>
  42. </Docs>
  43. <AssemblyInfo>
  44. <AssemblyVersion>1.0.5000.0</AssemblyVersion>
  45. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  46. </AssemblyInfo>
  47. </Member>
  48. <Member MemberName="GetObjectData">
  49. <MemberSignature Language="C#" Value="public override void GetObjectData (System.Runtime.Serialization.SerializationInfo si, System.Runtime.Serialization.StreamingContext context);" />
  50. <MemberType>Method</MemberType>
  51. <ReturnValue>
  52. <ReturnType>System.Void</ReturnType>
  53. </ReturnValue>
  54. <Parameters>
  55. <Parameter Name="si" Type="System.Runtime.Serialization.SerializationInfo" />
  56. <Parameter Name="context" Type="System.Runtime.Serialization.StreamingContext" />
  57. </Parameters>
  58. <Docs>
  59. <remarks>
  60. <attribution license="cc4" from="Microsoft" modified="false" />
  61. <para>
  62. <see cref="M:System.Data.Odbc.OdbcException.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)" /> sets a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with all the exception object data targeted for serialization. During deserialization, the exception is reconstituted from the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> transmitted over the stream.</para>
  63. </remarks>
  64. <summary>
  65. <attribution license="cc4" from="Microsoft" modified="false" />
  66. <para>This member overrides <see cref="M:System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)" />.</para>
  67. </summary>
  68. <param name="si">
  69. <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>
  70. <param name="context">
  71. <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>
  72. </Docs>
  73. <AssemblyInfo>
  74. <AssemblyVersion>1.0.5000.0</AssemblyVersion>
  75. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  76. </AssemblyInfo>
  77. </Member>
  78. <Member MemberName="Message">
  79. <MemberSignature Language="C#" Value="public virtual string Message { get; }" />
  80. <MemberType>Property</MemberType>
  81. <ReturnValue>
  82. <ReturnType>System.String</ReturnType>
  83. </ReturnValue>
  84. <Docs>
  85. <summary>To be added.</summary>
  86. <value>To be added.</value>
  87. <remarks>To be added.</remarks>
  88. </Docs>
  89. <AssemblyInfo>
  90. <AssemblyVersion>1.0.5000.0</AssemblyVersion>
  91. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  92. </AssemblyInfo>
  93. </Member>
  94. <Member MemberName="Source">
  95. <MemberSignature Language="C#" Value="public override string Source { get; }" />
  96. <MemberType>Property</MemberType>
  97. <ReturnValue>
  98. <ReturnType>System.String</ReturnType>
  99. </ReturnValue>
  100. <Docs>
  101. <value>To be added.</value>
  102. <remarks>
  103. <attribution license="cc4" from="Microsoft" modified="false" />
  104. <para>This is a wrapper for the <see cref="P:System.Data.Odbc.OdbcError.Source" /> property of the first <see cref="T:System.Data.Odbc.OdbcError" /> in the <see cref="P:System.Data.Odbc.OdbcException.Errors" /> collection.</para>
  105. </remarks>
  106. <summary>
  107. <attribution license="cc4" from="Microsoft" modified="false" />
  108. <para>Gets the name of the ODBC driver that generated the error.</para>
  109. </summary>
  110. </Docs>
  111. <AssemblyInfo>
  112. <AssemblyVersion>1.0.5000.0</AssemblyVersion>
  113. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  114. </AssemblyInfo>
  115. </Member>
  116. </Members>
  117. </Type>