ArmProviderHubModelFactory.ExtendedErrorInfo Method

Definition

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

Parameters

code
String

The error code.

target
String

The target of the error.

message
String

The error message.

details
IEnumerable<ExtendedErrorInfo>

The error details.

additionalInfo
IEnumerable<TypedErrorInfo>

The additional error information.

Returns

A new ExtendedErrorInfo instance for mocking.

Applies to