WorkflowCodeTypeReferenceExpression class
SharePoint 2013
Represents a reference to a data type.
System.Object
System.CodeDom.CodeObject
System.CodeDom.CodeExpression
System.CodeDom.CodeTypeReferenceExpression
Microsoft.SharePoint.WorkflowActions.WorkflowCodeTypeReferenceExpression
System.CodeDom.CodeObject
System.CodeDom.CodeExpression
System.CodeDom.CodeTypeReferenceExpression
Microsoft.SharePoint.WorkflowActions.WorkflowCodeTypeReferenceExpression
Assembly: Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)
When building declarative, rules-based, code-free workflows, it is always important that references to the assemblies containing the workflow code are valid by ensuring that references made to assemblies from the code-free workflow are complete and correct. If the references are not valid, you may occasionally experience compilation errors.
These problems do not normally arise when you are writing code-based workflow activities, however, rules-based workflows do not have the same strong binding to their respective assemblies as code-based workflows. By using the WorkflowCodeTypeReferenceExpression class, references to the correct assemblies are ensured and the workflow will compile correctly.