Share via


ErrorInfo Constructors

Definition

Overloads

ErrorInfo()

Initializes a new instance of the ErrorInfo class.

ErrorInfo(String, String, IList<ErrorDetail>, ErrorInfo, Object)

Initializes a new instance of the ErrorInfo class.

ErrorInfo()

Source:
ErrorInfo.cs

Initializes a new instance of the ErrorInfo class.

public ErrorInfo ();
Public Sub New ()

Applies to

ErrorInfo(String, String, IList<ErrorDetail>, ErrorInfo, Object)

Source:
ErrorInfo.cs

Initializes a new instance of the ErrorInfo class.

public ErrorInfo (string code, string message, System.Collections.Generic.IList<Microsoft.Azure.ApplicationInsights.Query.Models.ErrorDetail> details = default, Microsoft.Azure.ApplicationInsights.Query.Models.ErrorInfo innererror = default, object additionalProperties = default);
new Microsoft.Azure.ApplicationInsights.Query.Models.ErrorInfo : string * string * System.Collections.Generic.IList<Microsoft.Azure.ApplicationInsights.Query.Models.ErrorDetail> * Microsoft.Azure.ApplicationInsights.Query.Models.ErrorInfo * obj -> Microsoft.Azure.ApplicationInsights.Query.Models.ErrorInfo
Public Sub New (code As String, message As String, Optional details As IList(Of ErrorDetail) = Nothing, Optional innererror As ErrorInfo = Nothing, Optional additionalProperties As Object = Nothing)

Parameters

code
String

A machine readable error code.

message
String

A human readable error message.

details
IList<ErrorDetail>

error details.

innererror
ErrorInfo

Inner error details if they exist.

additionalProperties
Object

Applies to