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

JobOperationsExtensions.DeleteSparkSessionJobAsync 方法

定义

public static System.Threading.Tasks.Task<Microsoft.Azure.HDInsight.Job.Models.SparkJobDeletedResult> DeleteSparkSessionJobAsync(this Microsoft.Azure.HDInsight.Job.IJobOperations operations, int sessionId, string requestedBy = "ambari", System.Threading.CancellationToken cancellationToken = default);
static member DeleteSparkSessionJobAsync : Microsoft.Azure.HDInsight.Job.IJobOperations * int * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.HDInsight.Job.Models.SparkJobDeletedResult>
<Extension()>
Public Function DeleteSparkSessionJobAsync (operations As IJobOperations, sessionId As Integer, Optional requestedBy As String = "ambari", Optional cancellationToken As CancellationToken = Nothing) As Task(Of SparkJobDeletedResult)

参数

operations
IJobOperations
sessionId
Int32
requestedBy
String
cancellationToken
CancellationToken

返回

适用于