ApiError Constructors
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.
Overloads
ApiError() |
Initializes a new instance of the ApiError class. |
ApiError(IList<ApiErrorBase>, InnerError, String, String, String) |
Initializes a new instance of the ApiError class. |
ApiError()
Initializes a new instance of the ApiError class.
public ApiError ();
Public Sub New ()
Applies to
ApiError(IList<ApiErrorBase>, InnerError, String, String, String)
Initializes a new instance of the ApiError class.
public ApiError (System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.ApiErrorBase> details = default, Microsoft.Azure.Management.Compute.Fluent.Models.InnerError innererror = default, string code = default, string target = default, string message = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.ApiError : System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.ApiErrorBase> * Microsoft.Azure.Management.Compute.Fluent.Models.InnerError * string * string * string -> Microsoft.Azure.Management.Compute.Fluent.Models.ApiError
Public Sub New (Optional details As IList(Of ApiErrorBase) = Nothing, Optional innererror As InnerError = Nothing, Optional code As String = Nothing, Optional target As String = Nothing, Optional message As String = Nothing)
Parameters
- details
- IList<ApiErrorBase>
The Api error details
- innererror
- InnerError
The Api inner error
- code
- String
The error code.
- target
- String
The target of the particular error.
- message
- String
The error message.
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for