Skip to content

Commit 532ed2a

Browse files
committed
Add a Change for Nuget on Updating SqlException - Match Javad's work.
1 parent b881127 commit 532ed2a

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

doc/snippets/Microsoft.Data.SqlClient/SqlException.xml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -140,18 +140,7 @@ catch (Exception ex) {
140140
<altmember cref="T:Microsoft.Data.SqlClient.SqlError" />
141141
</Errors>
142142
<GetObjectData>
143-
<param name="si">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
144-
<param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
145-
<summary>Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.</summary>
146-
<remarks>
147-
<format type="text/markdown"><![CDATA[
148-
149-
## Remarks
150-
`GetObjectData` sets a `SerializationInfo` with all the exception object data targeted for serialization. During deserialization, the exception is reconstituted from the `SerializationInfo` transmitted over the stream.
151-
152-
]]></format>
153-
</remarks>
154-
<exception cref="T:System.ArgumentNullException">The <paramref name="si" /> parameter is a null reference (<see langword="Nothing" /> in Visual Basic).</exception>
143+
<inheritdoc cref="System.Exception.GetObjectData" />
155144
</GetObjectData>
156145
<LineNumber>
157146
<summary>Gets the line number within the Transact-SQL command batch or stored procedure that generated the error.</summary>

0 commit comments

Comments
 (0)