你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SparkBatchClient.CancelSparkBatchJob(Int32, CancellationToken) Method

Definition

Cancels a running spark batch job.

public virtual Azure.Response CancelSparkBatchJob(int batchId, System.Threading.CancellationToken cancellationToken = default);
abstract member CancelSparkBatchJob : int * System.Threading.CancellationToken -> Azure.Response
override this.CancelSparkBatchJob : int * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function CancelSparkBatchJob (batchId As Integer, Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

batchId
Int32

Identifier for the batch job.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to