Skip to content

Commit 1f98402

Browse files
authored
Make netfx version of SqlCommand.EndExecuteNonQueryAsync private (#3460)
1 parent 8eb9f32 commit 1f98402

File tree

1 file changed

+1
-2
lines changed
  • src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1492,8 +1492,7 @@ private void ThrowIfReconnectionHasBeenCanceled()
14921492
}
14931493
}
14941494

1495-
/// <include file='../../../../../../../doc/snippets/Microsoft.Data.SqlClient/SqlCommand.xml' path='docs/members[@name="SqlCommand"]/EndExecuteNonQueryAsync[@name="IAsyncResult"]/*'/>
1496-
public int EndExecuteNonQueryAsync(IAsyncResult asyncResult)
1495+
private int EndExecuteNonQueryAsync(IAsyncResult asyncResult)
14971496
{
14981497
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);
14991498
Debug.Assert(!_internalEndExecuteInitiated || _stateObj == null);

0 commit comments

Comments
 (0)