Share via


CancelOutstandingRequests

Applies to: Excel 2010 | Office 2010 | VBA | Visual Studio

Informs the cluster connector that an Excel calculation has been canceled, and therefore all pending function calls within that session may be cancelled as well (and that Excel does not expect callbacks with their results).

int CancelOutstandingRequests(int SessionId)

Parameters

  • SessionID
    The ID of the session used by the canceled calculation. This value matches the value returned by OpenSession.

Return Value

xlHpcRetSuccess if the SessionId argument is valid; xlHpcRetInvalidSessionId if the SessionId argument is invalid; xlHpcRetCallFailed on other failures.

Remarks

Implementers should stop all processes for the session for improved performance, as any results received after this call will be discarded by Excel.

See Also

Concepts

Excel Cluster Connector Functions