Skip to content

Commit

Permalink
Add a Change for Nuget on Updating SqlException - Match Javad's work.
Browse files Browse the repository at this point in the history
  • Loading branch information
H-Yeo committed Jan 18, 2024
1 parent b881127 commit 532ed2a
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions doc/snippets/Microsoft.Data.SqlClient/SqlException.xml
Original file line number Diff line number Diff line change
Expand Up @@ -140,18 +140,7 @@ catch (Exception ex) {
<altmember cref="T:Microsoft.Data.SqlClient.SqlError" />
</Errors>
<GetObjectData>
<param name="si">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
<param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
<summary>Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
`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.
]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">The <paramref name="si" /> parameter is a null reference (<see langword="Nothing" /> in Visual Basic).</exception>
<inheritdoc cref="System.Exception.GetObjectData" />
</GetObjectData>
<LineNumber>
<summary>Gets the line number within the Transact-SQL command batch or stored procedure that generated the error.</summary>
Expand Down

0 comments on commit 532ed2a

Please sign in to comment.