你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DiagnosticCode Struct

Definition

The diagnostic error codes.

public readonly struct DiagnosticCode : IEquatable<Azure.Analytics.OnlineExperimentation.DiagnosticCode>
type DiagnosticCode = struct
Public Structure DiagnosticCode
Implements IEquatable(Of DiagnosticCode)
Inheritance
DiagnosticCode
Implements

Constructors

Name Description
DiagnosticCode(String)

Initializes a new instance of DiagnosticCode.

Properties

Name Description
FailedSchemaValidation

The metric definition does not conform to the required schema.

InvalidEventCondition

The filter condition is invalid.

InvalidExperimentMetricDefinition

The provided metric definition is invalid. For example, defining a metric to calculate the average of a numeric property but including a filter condition that compares it to a string value creates a type mismatch.

UnsupportedEventCondition

The filter condition is valid but not currently supported.

Methods

Name Description
Equals(DiagnosticCode)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Name Description
Equality(DiagnosticCode, DiagnosticCode)

Determines if two DiagnosticCode values are the same.

Implicit(String to DiagnosticCode)

Converts a String to a DiagnosticCode.

Inequality(DiagnosticCode, DiagnosticCode)

Determines if two DiagnosticCode values are not the same.

Applies to