Partager via


WorkflowCodeTypeReferenceExpression Class

Represents a reference to a data type.

Inheritance Hierarchy

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)

Syntax

Public Class WorkflowCodeTypeReferenceExpression _
    Inherits CodeTypeReferenceExpression _
    Implements IRuleExpression

Dim instance As WorkflowCodeTypeReferenceExpression
public class WorkflowCodeTypeReferenceExpression : CodeTypeReferenceExpression, 
    IRuleExpression

Remarks

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.

Thread Safety

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

See Also

Reference

WorkflowCodeTypeReferenceExpression Members

Microsoft.SharePoint.WorkflowActions Namespace