Skip to content

Commit 387f532

Browse files
authored
add exception info for DataRow.IsNull overloads (dotnet#1902)
1 parent 8ff5b4f commit 387f532

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

xml/System.Data/DataRow.xml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1671,6 +1671,8 @@
16711671
16721672
]]></format>
16731673
</remarks>
1674+
<exception cref="T:System.ArgumentNullException"><paramref name="column" /> is <see langword="null" />.</exception>
1675+
<exception cref="T:System.Data.RowNotInTableException">The row does not belong to the table.</exception>
16741676
</Docs>
16751677
</Member>
16761678
<Member MemberName="IsNull">
@@ -1718,6 +1720,8 @@
17181720
17191721
]]></format>
17201722
</remarks>
1723+
<exception cref="T:System.IndexOutOfRangeException">No column corresponds to the index specified by <paramref name="columnIndex" />.</exception>
1724+
<exception cref="T:System.Data.RowNotInTableException">The row does not belong to the table.</exception>
17211725
</Docs>
17221726
</Member>
17231727
<Member MemberName="IsNull">
@@ -1765,6 +1769,9 @@
17651769
17661770
]]></format>
17671771
</remarks>
1772+
<exception cref="T:System.ArgumentException">The column specified by <paramref name="columnName" /> cannot be found.</exception>
1773+
<exception cref="T:System.ArgumentNullException"><paramref name="columnName" /> is <see langword="null" />.</exception>
1774+
<exception cref="T:System.Data.RowNotInTableException">The row does not belong to the table.</exception>
17681775
</Docs>
17691776
</Member>
17701777
<Member MemberName="IsNull">
@@ -1805,6 +1812,9 @@
18051812
<returns>
18061813
<see langword="true" /> if the column contains a null value; otherwise, <see langword="false" />.</returns>
18071814
<remarks>To be added.</remarks>
1815+
<exception cref="T:System.ArgumentNullException"><paramref name="column" /> is <see langword="null" />.</exception>
1816+
<exception cref="T:System.Data.RowNotInTableException">The row does not belong to the table.</exception>
1817+
<exception cref="T:System.Data.VersionNotFoundException">The row does not have the requested <paramref name="version" />.</exception>
18081818
</Docs>
18091819
</Member>
18101820
<MemberGroup MemberName="Item">
@@ -2899,4 +2909,4 @@
28992909
</Docs>
29002910
</Member>
29012911
</Members>
2902-
</Type>
2912+
</Type>

0 commit comments

Comments
 (0)