다음을 통해 공유


SparkModelFactory.SparkServiceError Method

Definition

Initializes a new instance of SparkServiceError.

public static Azure.Analytics.Synapse.Spark.Models.SparkServiceError SparkServiceError (string message = default, string errorCode = default, Azure.Analytics.Synapse.Spark.Models.SparkErrorSource? source = default);
static member SparkServiceError : string * string * Nullable<Azure.Analytics.Synapse.Spark.Models.SparkErrorSource> -> Azure.Analytics.Synapse.Spark.Models.SparkServiceError
Public Shared Function SparkServiceError (Optional message As String = Nothing, Optional errorCode As String = Nothing, Optional source As Nullable(Of SparkErrorSource) = Nothing) As SparkServiceError

Parameters

message
String
errorCode
String

Returns

A new SparkServiceError instance for mocking.

Applies to