共用方式為


ArmSelfHelpModelFactory.SelfHelpError Method

Definition

Initializes a new instance of SelfHelpError.

public static Azure.ResourceManager.SelfHelp.Models.SelfHelpError SelfHelpError (string code = default, string errorType = default, string message = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SelfHelp.Models.SelfHelpError> details = default);
static member SelfHelpError : string * string * string * seq<Azure.ResourceManager.SelfHelp.Models.SelfHelpError> -> Azure.ResourceManager.SelfHelp.Models.SelfHelpError
Public Shared Function SelfHelpError (Optional code As String = Nothing, Optional errorType As String = Nothing, Optional message As String = Nothing, Optional details As IEnumerable(Of SelfHelpError) = Nothing) As SelfHelpError

Parameters

code
String

Service specific error code which serves as the substatus for the HTTP error code.

errorType
String

Service specific error type which serves as additional context for the error herein.

message
String

Description of the error.

details
IEnumerable<SelfHelpError>

An array of additional nested error response info objects, as described by this contract.

Returns

A new SelfHelpError instance for mocking.

Applies to