A TScreenVerificationResult object stores information about failed data verification in a Form or UserControl on the Client side. It is made to be stored in the TVerificationResultCollection.
More...
|
| TScreenVerificationResult (object AResultContext, DataColumn AResultColumn, String AResultText, String AResultCode, Object AResultControl, System.Guid ADataValidationRunID=new System.Guid()) |
| constructor More...
|
|
| TScreenVerificationResult (object AResultContext, DataColumn AResultColumn, String AResultText, Object AResultControl, TResultSeverity AResultSeverity, System.Guid ADataValidationRunID=new System.Guid()) |
| constructor More...
|
|
| TScreenVerificationResult (object AResultContext, DataColumn AResultColumn, String AResultText, String AResultCode, TResultSeverity AResultSeverity, System.Guid ADataValidationRunID=new System.Guid()) |
| Constructor More...
|
|
| TScreenVerificationResult (object AResultContext, DataColumn AResultColumn, String AResultText, String AResultCaption, String AResultCode, TResultSeverity AResultSeverity, System.Guid ADataValidationRunID=new System.Guid()) |
| Constructor More...
|
|
| TScreenVerificationResult (TVerificationResult AVerificationResult, DataColumn AResultColumn, System.Guid ADataValidationRunID=new System.Guid()) |
| Constructor More...
|
|
| TScreenVerificationResult (object AResultContext, DataColumn AResultColumn, String AResultText, TResultSeverity AResultSeverity, System.Guid ADataValidationRunID=new System.Guid()) |
| Constructor More...
|
|
void | OverrideResultContext (object ANewResultContext) |
| Overrides the ResultContext that the TVerificationResult was originally populated with. More...
|
|
void | OverrideResultText (string ANewResultText) |
| Overrides the ResultText that the TVerificationResult was originally populated with. More...
|
|
void | OverrideResultTextCaption (string ANewResultTextCaption) |
| Overrides the ResultTextCaption that the TVerificationResult was originally populated with. More...
|
|
A TScreenVerificationResult object stores information about failed data verification in a Form or UserControl on the Client side. It is made to be stored in the TVerificationResultCollection.
◆ TScreenVerificationResult() [1/6]
Ict.Common.Verification.TScreenVerificationResult.TScreenVerificationResult |
( |
object |
AResultContext, |
|
|
DataColumn |
AResultColumn, |
|
|
String |
AResultText, |
|
|
String |
AResultCode, |
|
|
Object |
AResultControl, |
|
|
System.Guid |
ADataValidationRunID = new System.Guid() |
|
) |
| |
|
inline |
constructor
- Parameters
-
AResultContext | context of verification |
AResultColumn | which column failed |
AResultText | description and error message for the user |
AResultControl | for compatibility reasons, just pass null |
AResultCode | error code to identify the error message |
ADataValidationRunID | A Data Validation Run ID that this instance should be associated with. Default: a new System.Guid instance. |
◆ TScreenVerificationResult() [2/6]
Ict.Common.Verification.TScreenVerificationResult.TScreenVerificationResult |
( |
object |
AResultContext, |
|
|
DataColumn |
AResultColumn, |
|
|
String |
AResultText, |
|
|
Object |
AResultControl, |
|
|
TResultSeverity |
AResultSeverity, |
|
|
System.Guid |
ADataValidationRunID = new System.Guid() |
|
) |
| |
|
inline |
constructor
- Parameters
-
AResultContext | context of verification |
AResultColumn | which column failed |
AResultText | description and error message for the user |
AResultControl | for compatibility reasons, just pass null |
AResultSeverity | is this serious, or just a warning |
ADataValidationRunID | A Data Validation Run ID that this instance should be associated with. Default: a new System.Guid instance. |
◆ TScreenVerificationResult() [3/6]
Ict.Common.Verification.TScreenVerificationResult.TScreenVerificationResult |
( |
object |
AResultContext, |
|
|
DataColumn |
AResultColumn, |
|
|
String |
AResultText, |
|
|
String |
AResultCode, |
|
|
TResultSeverity |
AResultSeverity, |
|
|
System.Guid |
ADataValidationRunID = new System.Guid() |
|
) |
| |
|
inline |
Constructor
- Parameters
-
AResultContext | context of verification |
AResultColumn | which column failed |
AResultText | description and error message for the user |
AResultCode | error code to identify the error message |
AResultSeverity | is this serious, or just a warning |
ADataValidationRunID | A Data Validation Run ID that this instance should be associated with. Default: a new System.Guid instance. |
◆ TScreenVerificationResult() [4/6]
Ict.Common.Verification.TScreenVerificationResult.TScreenVerificationResult |
( |
object |
AResultContext, |
|
|
DataColumn |
AResultColumn, |
|
|
String |
AResultText, |
|
|
String |
AResultCaption, |
|
|
String |
AResultCode, |
|
|
TResultSeverity |
AResultSeverity, |
|
|
System.Guid |
ADataValidationRunID = new System.Guid() |
|
) |
| |
|
inline |
Constructor
- Parameters
-
AResultContext | context of verification |
AResultColumn | which column failed |
AResultText | description and error message for the user |
AResultCaption | caption for error message box |
AResultCode | error code to identify the error message |
AResultSeverity | is this serious, or just a warning |
ADataValidationRunID | A Data Validation Run ID that this instance should be associated with. Default: a new System.Guid instance. |
◆ TScreenVerificationResult() [5/6]
Ict.Common.Verification.TScreenVerificationResult.TScreenVerificationResult |
( |
TVerificationResult |
AVerificationResult, |
|
|
DataColumn |
AResultColumn, |
|
|
System.Guid |
ADataValidationRunID = new System.Guid() |
|
) |
| |
|
inline |
Constructor
- Parameters
-
AVerificationResult | TVerificationResult which contains the basic data to which the AResultColumn is getting added. |
AResultColumn | which column failed |
ADataValidationRunID | A Data Validation Run ID that this instance should be associated with. Default: a new System.Guid instance. |
◆ TScreenVerificationResult() [6/6]
Ict.Common.Verification.TScreenVerificationResult.TScreenVerificationResult |
( |
object |
AResultContext, |
|
|
DataColumn |
AResultColumn, |
|
|
String |
AResultText, |
|
|
TResultSeverity |
AResultSeverity, |
|
|
System.Guid |
ADataValidationRunID = new System.Guid() |
|
) |
| |
|
inline |
Constructor
- Parameters
-
AResultContext | context of verification |
AResultColumn | which column failed |
AResultText | description and error message for the user |
AResultSeverity | is this serious, or just a warning |
ADataValidationRunID | A Data Validation Run ID that this instance should be associated with. Default: a new System.Guid instance. |
◆ OverrideResultContext()
void Ict.Common.Verification.TVerificationResult.OverrideResultContext |
( |
object |
ANewResultContext | ) |
|
|
inlineinherited |
Overrides the ResultContext that the TVerificationResult was originally populated with.
- Parameters
-
ANewResultContext | New ResultText. |
◆ OverrideResultText()
void Ict.Common.Verification.TVerificationResult.OverrideResultText |
( |
string |
ANewResultText | ) |
|
|
inlineinherited |
Overrides the ResultText that the TVerificationResult was originally populated with.
- Parameters
-
ANewResultText | New ResultText. |
◆ OverrideResultTextCaption()
void Ict.Common.Verification.TVerificationResult.OverrideResultTextCaption |
( |
string |
ANewResultTextCaption | ) |
|
|
inlineinherited |
Overrides the ResultTextCaption that the TVerificationResult was originally populated with.
- Parameters
-
ANewResultTextCaption | New ResultTextCaption. |
◆ FControlValueUndoRequested
bool Ict.Common.Verification.TVerificationResult.FControlValueUndoRequested = false |
|
protectedinherited |
Is true (or set to true) if the data validation code requests that the validated Control's value is undone. This is only useful for TScreenVerificationResults but needs to be declared in this Class to make the handling easier.
◆ FDataValidationRunID
System.Guid Ict.Common.Verification.TVerificationResult.FDataValidationRunID |
|
protectedinherited |
◆ FResultCode
String Ict.Common.Verification.TVerificationResult.FResultCode = String.Empty |
|
protectedinherited |
Error code if verification failure
◆ FResultContext
object Ict.Common.Verification.TVerificationResult.FResultContext = String.Empty |
|
protectedinherited |
DB Field or other context that describes where the data verification failed (use '[ODBC ...]' instead to signal a database error (such as a failed call to a stored procedure)
◆ FResultSeverity
TResultSeverity Ict.Common.Verification.TVerificationResult.FResultSeverity |
|
protectedinherited |
Signals whether the verification failure prevented saving of data (critical) or the verification result is only for information purposes (noncritical).
◆ FResultText
String Ict.Common.Verification.TVerificationResult.FResultText = String.Empty |
|
protectedinherited |
◆ FResultTextCaption
String Ict.Common.Verification.TVerificationResult.FResultTextCaption = String.Empty |
|
protectedinherited |
◆ FSuppressValidationToolTip
bool Ict.Common.Verification.TVerificationResult.FSuppressValidationToolTip = false |
|
protectedinherited |
Is true (or set to true) if the data validation code requests that the validation ToolTip should not be shown on the validated Control. This is only useful for TScreenVerificationResults but needs to be declared in this Class to make the handling easier.
◆ ControlValueUndoRequested
bool Ict.Common.Verification.TVerificationResult.ControlValueUndoRequested |
|
getsetinherited |
Is true (or set to true) if the data validation code requests that the validated Control's value is undone.
◆ DataValidationRunID
System.Guid Ict.Common.Verification.TVerificationResult.DataValidationRunID |
|
getsetinherited |
◆ ResultCode
String Ict.Common.Verification.TVerificationResult.ResultCode |
|
getsetinherited |
◆ ResultColumn
DataColumn Ict.Common.Verification.TScreenVerificationResult.ResultColumn |
|
get |
the DataColumn of the verification failure
- Returns
◆ ResultContext
object Ict.Common.Verification.TVerificationResult.ResultContext |
|
getinherited |
◆ ResultSeverity
◆ ResultText
String Ict.Common.Verification.TVerificationResult.ResultText |
|
getinherited |
◆ ResultTextCaption
String Ict.Common.Verification.TVerificationResult.ResultTextCaption |
|
getinherited |
◆ SuppressValidationToolTip
bool Ict.Common.Verification.TVerificationResult.SuppressValidationToolTip |
|
getsetinherited |
Is true (or set to true) if the data validation code requests that the validation ToolTip should not be shown on the validated Control.
The documentation for this class was generated from the following file:
- csharp/ICT/Common/Verification/Main.cs