MapsSearchModelFactory.ErrorDetail Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET