CancelOutstandingRequests

Applies to: Excel 2013 | Office 2013 | 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