8 references to WaitForCompletion
System.Data (8)
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (2)
1764
AsyncHelper.
WaitForCompletion
(reconnectTask, BulkCopyTimeout, () => { throw SQL.CR_ReconnectTimeout(); }, rethrowExceptions: false);
2608
AsyncHelper.
WaitForCompletion
(reconnectTask, this.BulkCopyTimeout, () => { throw SQL.CR_ReconnectTimeout(); } );
fx\src\data\System\Data\SqlClient\SqlCommand.cs (2)
3091
AsyncHelper.
WaitForCompletion
(reconnectTask, timeout, () => { throw SQL.CR_ReconnectTimeout(); });
4379
AsyncHelper.
WaitForCompletion
(reconnectTask, timeout, () => { throw SQL.CR_ReconnectTimeout(); });
fx\src\data\System\Data\SqlClient\SqlConnection.cs (2)
1095
AsyncHelper.
WaitForCompletion
(reconnectTask, 0, null, rethrowExceptions: false); // we do not need to deal with possible exceptions in reconnection
1367
AsyncHelper.
WaitForCompletion
(reconnectTask, 0, null, rethrowExceptions: false);
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (2)
1126
AsyncHelper.
WaitForCompletion
(reconnectTask, 0); // there is no specific timeout for BeginTransaction, uses ConnectTimeout
2048
AsyncHelper.
WaitForCompletion
(reconnectTask, timeout);