ServiceError Constructors
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.
ServiceError() |
Initializes a new instance of the ServiceError class. |
ServiceError(String, String, IList<ServiceErrorDetail>) |
Initializes a new instance of the ServiceError class. |
Initializes a new instance of the ServiceError class.
public ServiceError ();
Public Sub New ()
Applies to
Azure SDK for .NET Legacy
Product | Versions |
---|---|
Azure SDK for .NET | Legacy |
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.
Applies to
Azure SDK for .NET Legacy
Product | Versions |
---|---|
Azure SDK for .NET | Legacy |
Azure SDK for .NET feedback
Azure SDK for .NET is an open source project. Select a link to provide feedback: