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.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기