Deployment Tools Foundation
EvaluateCondition Method (condition)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Session ► EvaluateCondition(String)
Evaluates a logical expression containing symbols and values.
Declaration Syntax
Parameters
- condition (String)
- conditional expression
Return Value
The result of the condition evaluation
Remarks
Win32 MSI API: MsiEvaluateCondition
Exceptions
Exception | Condition |
---|---|
InvalidHandleException | the Session handle is invalid |
ArgumentNullException | the condition is null or empty |
SyntaxErrorException | the conditional expression is invalid |