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

SparkModelFactory.SparkStatementCancellationResult(String) Method

Definition

Initializes a new instance of SparkStatementCancellationResult.

public static Azure.Analytics.Synapse.Spark.Models.SparkStatementCancellationResult SparkStatementCancellationResult(string message = default);
static member SparkStatementCancellationResult : string -> Azure.Analytics.Synapse.Spark.Models.SparkStatementCancellationResult
Public Shared Function SparkStatementCancellationResult (Optional message As String = Nothing) As SparkStatementCancellationResult

Parameters

message
String

The msg property from the Livy API. The value is always "canceled".

Returns

A new SparkStatementCancellationResult instance for mocking.

Applies to