Udostępnij za pośrednictwem


AnalyticsSynapseArtifactsModelFactory.OperationResult Method

Definition

Initializes a new instance of OperationResult.

public static Azure.Analytics.Synapse.Artifacts.Models.OperationResult OperationResult (string status = default, string code = default, string message = default, string target = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Synapse.Artifacts.Models.CloudError> details = default);
static member OperationResult : string * string * string * string * seq<Azure.Analytics.Synapse.Artifacts.Models.CloudError> -> Azure.Analytics.Synapse.Artifacts.Models.OperationResult
Public Shared Function OperationResult (Optional status As String = Nothing, Optional code As String = Nothing, Optional message As String = Nothing, Optional target As String = Nothing, Optional details As IEnumerable(Of CloudError) = Nothing) As OperationResult

Parameters

status
String

Operation status.

code
String

Error code.

message
String

Error message.

target
String

Property name/path in request associated with error.

details
IEnumerable<CloudError>

Array with additional error details.

Returns

A new OperationResult instance for mocking.

Applies to