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