ComponentErrorContext Class

An error-context: an error that components pass to each other, with a message for the diagnostics.

public sealed class ComponentErrorContext

Constructors

NameDescription
ComponentErrorContext(string)Initializes a new instance of the ComponentErrorContext class.

ComponentErrorContext(string)

ComponentValue.cs

Initializes a new instance of the ComponentErrorContext class.

public ComponentErrorContext(string debugMessage)

Parameters

debugMessage string
The message for the diagnostics.

Properties

NameDescription
DebugMessageGets the message for the diagnostics.

DebugMessage

ComponentValue.cs

Gets the message for the diagnostics.

public string DebugMessage { get; }

Property value

string

Methods

NameDescription
ToString()Returns a string that represents the current object.

Returns a string that represents the current object.

public override string ToString()

Returns

string A string that represents the current object.