.NET Bulk Operations Transient Error

Transient Error Options

RetryCount

Allow you to set how many time the bulk operation should retry the operation when a transient error occurs.

Example

var bulk = new BulkOperation(connection);

bulk.RetryCount = 3;

bulk.BulkMerge(dt);

RetryInterval

Allow you to set how many time to wait before trying an operation again when a transient error occurs.

Example

var bulk = new BulkOperation(connection);

bulk.RetryCount = 3;
bulk.RetryInterval = new TimeSpan(100);

bulk.BulkMerge(dt);


Contents