src/Cassandra/OperationState.cs
/// <summary>
/// Asynchronously marks the provided operations as completed and invoke the callbacks with the exception.
/// </summary>
Asynchronously marks the provided operations as completed and invoke the callbacks with the exception.
Asynchronously marks the provided operations as completed and invoke the callbacks with the exception .
internal static void CallbackMultiple(IEnumerable<OperationState> ops, Exception ex)
        {
            Task.Factory.StartNew(() =>
            {
                foreach (var state in ops)
                {
                    var callback = state.SetCompleted();
                    callback(ex, null);
                }
            }, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default);
        }
internal static void CallbackMultiple ( IEnumerable < OperationState > ops , Exception ex ) { Task . Factory . StartNew ( ( ) => { foreach ( var state in ops ) { var callback = state . SetCompleted ( ) ; callback ( ex , null ) ; } } , CancellationToken . None , TaskCreationOptions . None , TaskScheduler . Default ) ; }
Asynchronously marks the provided operations as completed and invoke the callbacks with the exception.
Asynchronously marks the provided operations as completed and invoke the callbacks with the exception .
ops
IEnumerable<OperationState>
ex
Exception