Error 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
Error() |
Initializes a new instance of the Error class. |
Error(String, String, String, IList<ErrorDetails>, String) |
Initializes a new instance of the Error class. |
Error()
Initializes a new instance of the Error class.
public Error ();
Public Sub New ()
Applies to
Error(String, String, String, IList<ErrorDetails>, String)
Initializes a new instance of the Error class.
public Error (string code = default, string message = default, string target = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.ErrorDetails> details = default, string innerError = default);
new Microsoft.Azure.Management.Network.Fluent.Models.Error : string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.ErrorDetails> * string -> Microsoft.Azure.Management.Network.Fluent.Models.Error
Public Sub New (Optional code As String = Nothing, Optional message As String = Nothing, Optional target As String = Nothing, Optional details As IList(Of ErrorDetails) = Nothing, Optional innerError As String = Nothing)
Parameters
- code
- String
Error code.
- message
- String
Error message.
- target
- String
Error target.
- details
- IList<ErrorDetails>
Error details.
- innerError
- String
Inner error message.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET