TypeException Class

Assembly: CodeEffects.Rule.Common.dll
Namespace: CodeEffects.Rule.Common

Summary

Represents an error raised when the platform cannot use a .NET type that a rule or a source object refers to. It is thrown, for example, when a type name is null or empty, or when a type is declared in an assembly that is not in the AssemblyWhitelist of the EvaluationParameters. It derives from RuleException, so catching RuleException also catches it.

Syntax

public class TypeException : CodeEffects.Rule.Common.RuleException

Constructors

  • TypeException(string, string)

    Initializes a new instance of the TypeException class with the specified support control number and error message.

    Parameters

    • number (System.String): The support control number of the exception. It becomes the value of the inherited ControlNumber property.
    • message (System.String): The error message.

Inheritance

Ask on Stack Overflow - Yes, it's still active
Ask in GitHub Discussions

p102

l097 --

l102

p101

×