Udostępnij za pośrednictwem


MapsSearchModelFactory.ErrorDetail Method

Definition

Initializes a new instance of ErrorDetail.

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

Parameters

code
String

The error code.

message
String

The error message.

target
String

The error target.

details
IEnumerable<ErrorDetail>

The error details.

additionalInfo
IEnumerable<ErrorAdditionalInfo>

The error additional info.

Returns

A new ErrorDetail instance for mocking.

Applies to