AuthorizedType AuthorizedType AuthorizedType AuthorizedType Class



This API is now obsolete.

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.

public ref class AuthorizedType sealed
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class AuthorizedType
type AuthorizedType = class
Public NotInheritable Class AuthorizedType



This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

During the validation phase of workflow compilation, a workflow source document is rejected if it 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|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'


AuthorizedType() AuthorizedType() AuthorizedType() AuthorizedType()

Initializes a new instance of the AuthorizedType class.


Assembly Assembly Assembly Assembly

Gets or sets the name of the assembly that contains the type(s) represented by this class.

Authorized Authorized Authorized Authorized

Gets or sets the value that indicates whether the type designated by this class is authorized to participate in a workflow compilation.

Namespace Namespace Namespace Namespace

Gets or sets the name of the namespace of the type represented in this instance.

RegularExpression RegularExpression RegularExpression RegularExpression

Gets the Regex associated with this instance.

TypeName TypeName TypeName TypeName

Gets or sets the name of the type being represented by this instance.


Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to