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

SparkStatementCancellationResult

A new SparkStatementCancellationResult instance for mocking.

Applies to