WorkflowCodeTypeReferenceExpression class

Represents a reference to a data type.

System.Object
  System.CodeDom.CodeObject
    System.CodeDom.CodeExpression
      System.CodeDom.CodeTypeReferenceExpression
        Microsoft.SharePoint.WorkflowActions.WorkflowCodeTypeReferenceExpression

Namespace:  Microsoft.SharePoint.WorkflowActions
Assembly:  Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)

public class WorkflowCodeTypeReferenceExpression : CodeTypeReferenceExpression, 
	IRuleExpression

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: