Share via


Report Class

Definition

Common runtime checks that trace messages and invoke an assertion failure, but does not throw exceptions.

public ref class Report abstract sealed
public static class Report
type Report = class
Public Class Report
Inheritance
Report

Methods

Fail(String, Object[])

Reports a certain failure.

Fail(String)

Reports a certain failure.

If(Boolean, String)

Reports an error if a condition evaluates to true.

IfNot(Boolean, String, Object, Object)

Reports an error if a condition does not evaluate to true.

IfNot(Boolean, String, Object)

Reports an error if a condition does not evaluate to true.

IfNot(Boolean, String, Object[])

Reports an error if a condition does not evaluate to true.

IfNot(Boolean, String)

Reports an error if a condition does not evaluate to true.

IfNot(Boolean, ValidationInterpolatedStringHandler)

Reports an error if a condition does not evaluate to true.

IfNotPresent<T>(T)

Verifies that a value is not null, and reports an error about a missing MEF component otherwise.

Applies to