ServiceError 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
ServiceError() |
Initializes a new instance of the ServiceError class. |
ServiceError(String, String, String, IList<ServiceErrorDetail>) |
Initializes a new instance of the ServiceError class. |
ServiceError()
Initializes a new instance of the ServiceError class.
public ServiceError ();
Public Sub New ()
Applies to
ServiceError(String, String, String, IList<ServiceErrorDetail>)
Initializes a new instance of the ServiceError class.
public ServiceError (string code = default, string message = default, string target = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Support.Models.ServiceErrorDetail> details = default);
new Microsoft.Azure.Management.Support.Models.ServiceError : string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Support.Models.ServiceErrorDetail> -> Microsoft.Azure.Management.Support.Models.ServiceError
Public Sub New (Optional code As String = Nothing, Optional message As String = Nothing, Optional target As String = Nothing, Optional details As IList(Of ServiceErrorDetail) = Nothing)
Parameters
- code
- String
The error code.
- message
- String
The error message.
- target
- String
The target of the error.
- details
- IList<ServiceErrorDetail>
The list of error details.