Export (0) Print
Expand All

AuthorizedType Class

Represents a set of types that are either allowed or disallowed in compiled workflows by the workflow compiler (depending on the value of the Authorized property). This class cannot be inherited.

Namespace:  System.Workflow.ComponentModel.Compiler
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public sealed class AuthorizedType

During the validation phase of workflow compilation, a workflow source document is rejected if it or the companion rules file directly references any .NET 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|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. Using Type=”*” shortcuts all types in a namespace in an assembly, not all types in the assembly.

The use of a list of authorized types is controlled by the WorkflowCompiler option '/checktypes'

System.Object
  System.Workflow.ComponentModel.Compiler.AuthorizedType

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

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0

Community Additions

ADD
Show:
© 2014 Microsoft