Browse Source

Make netfx version of SqlCommand.EndExecuteNonQueryAsync private (#3460)

pull/2572/merge
Benjamin Russell 3 weeks ago
committed by GitHub
parent
commit
1f984021d4
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SqlCommand.cs

3
src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SqlCommand.cs

@ -1492,8 +1492,7 @@ namespace Microsoft.Data.SqlClient
}
}
/// <include file='../../../../../../../doc/snippets/Microsoft.Data.SqlClient/SqlCommand.xml' path='docs/members[@name="SqlCommand"]/EndExecuteNonQueryAsync[@name="IAsyncResult"]/*'/>
public int EndExecuteNonQueryAsync(IAsyncResult asyncResult)
private int EndExecuteNonQueryAsync(IAsyncResult asyncResult)
{
SqlClientEventSource.Log.TryCorrelationTraceEvent("SqlCommand.EndExecuteNonQueryAsync | Info | Correlation | Object Id {0}, Activity Id {1}, Client Connection Id {2}, Command Text '{3}'", ObjectID, ActivityCorrelator.Current, Connection?.ClientConnectionId, CommandText);
Debug.Assert(!_internalEndExecuteInitiated || _stateObj == null);

Loading…
Cancel
Save