WorkflowCodeTypeReferenceExpression.Validate Method
Verifies that the WorkflowCodeTypeExpression is configured correctly and has no errors.
Namespace: Microsoft.SharePoint.WorkflowActions
Assembly: Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)
Syntax
'Declaration
Public Function Validate ( _
validation As RuleValidation, _
isWritten As Boolean _
) As RuleExpressionInfo
'Usage
Dim instance As WorkflowCodeTypeReferenceExpression
Dim validation As RuleValidation
Dim isWritten As Boolean
Dim returnValue As RuleExpressionInfo
returnValue = instance.Validate(validation, _
isWritten)
public RuleExpressionInfo Validate(
RuleValidation validation,
bool isWritten
)
Parameters
validation
Type: System.Workflow.Activities.Rules.RuleValidationThe RuleValidation that is used to manage the validation process.
isWritten
Type: System.Booleantrue if the expression is being written to; false if the expression is not being written to.
Return Value
Type: System.Workflow.Activities.Rules.RuleExpressionInfo
The RuleExpressionInfo for the expression.
Implements
IRuleExpression.Validate(RuleValidation, Boolean)
See Also
Reference
WorkflowCodeTypeReferenceExpression Class