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.Models.ErrorDetails> details = default, string innerError = default);
new Microsoft.Azure.Management.Network.Models.Error : string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ErrorDetails> * string -> Microsoft.Azure.Management.Network.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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET