C# 클래스 HandCoded.Validation.ValidationError

Instances of the ValidationError class are used to hold the details of previous validation failure events.
파일 보기 프로젝트 열기: formicary/fpml-toolkit-csharp 1 사용 예제들

공개 메소드들

메소드 설명
ValidationError ( String code, XmlNode context, String description, String ruleName, String additionalData ) : System

Constructs a ValidationError instance from the details provided to a semantic error handler.

ValidationError ( String code, int line, int column, String description, String ruleName, String additionalData ) : System

Constructs a ValidationError instance from the details provided to a syntax error handler.

비공개 메소드들

메소드 설명
ValidationError ( String code, String context, bool lexical, String description, String ruleName, String additionalData ) : System

Constructs a ValidationError instance from the details provided.

메소드 상세

ValidationError() 공개 메소드

Constructs a ValidationError instance from the details provided to a semantic error handler.
public ValidationError ( String code, XmlNode context, String description, String ruleName, String additionalData ) : System
code String The FpML defined reason code associated with the error.
context System.Xml.XmlNode The DOM Node containing the erroneous data.
description String A textual description of the problem detected.
ruleName String The code for the FpML validation rule that has failed.
additionalData String Any additional data that may assist in problem solving.
리턴 System

ValidationError() 공개 메소드

Constructs a ValidationError instance from the details provided to a syntax error handler.
public ValidationError ( String code, int line, int column, String description, String ruleName, String additionalData ) : System
code String The FpML defined reason code associated with the error.
line int The line number where the problem was detected.
column int The column number where the problem was detected.
description String A textual description of the problem detected.
ruleName String The code for the FpML validation rule that has failed.
additionalData String Any additional data that may assist in problem solving.
리턴 System