Cookie Settings

Try our new documentation site (beta).

Filter Content By
Version
Table of contents
Filter by Language
C API Details
C++ API Details
GRBModel +
Java API Details
GRBModel +
.NET API Details
GRBModel +
Python API Details
Model +
Attributes
Parameters
Parameter Descriptions +


GRBBatch.Abort()

This method instructs the Cluster Manager to abort the processing of this batch request, changing its status to ABORTED. Please refer to the Batch Status Codes section for further details.

void Abort ( )

    Example usage:

            // Abort this batch if it is taking too long
            TimeSpan interval = DateTime.Now - start;
            if (interval.TotalSeconds > maxwaittime) {
              batch.Abort();
              break;
            }