TraceHelperWriteIf Method (Boolean, String, String) |
Writes the message with the remark of the category specified to the trace output, if condition is true.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax public static void WriteIf(
bool condition,
string message,
string category
)
Public Shared Sub WriteIf (
condition As Boolean,
message As String,
category As String
)
Parameters
- condition
- Type: SystemBoolean
Condition to test if the message has to be written (true) or not (false) - message
- Type: SystemString
Message to write to the trace output - category
- Type: SystemString
Category to specify with the message
See Also