IWorkflowCompilerOptionsService.CheckTypes Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates whether types are checked.
public:
property bool CheckTypes { bool get(); };
public bool CheckTypes { get; }
member this.CheckTypes : bool
Public ReadOnly Property CheckTypes As Boolean
Property Value
true
if types are checked, otherwise false
.
Remarks
During the validation phase of workflow compilation, a workflow source document is rejected if the CheckTypes property is true
and the workflow or the companion rules file directly references any .NET Framework types not present on a list of authorized types. The list of authorized types is an XML document where each entry indicates an Assembly
, a Namespace
, a TypeName
, and an Authorized
{true
or false
} indicator. This class corresponds to an entry on the list. Also note that wildcard character designations are allowed, to include or exclude complete namespaces. For example, using Type="System.*"
includes all types in System, including types contained in child namespaces.
The use of a list of authorized types is controlled by the WorkflowCompiler option /checktypes or by using the CheckTypes property.