ValidationManager Constructors
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.
Initializes a new instance of the ValidationManager class.
Overloads
ValidationManager(IServiceProvider) |
Initializes a new instance of the ValidationManager class using the identified service provider. |
ValidationManager(IServiceProvider, Boolean) |
Initializes a new instance of the ValidationManager class using the identified service provider and indicates whether child Activity classes should be validated. |
Remarks
The following table shows initial property values for an instance of the ValidationManager class.
Property | Value |
---|---|
Context | A null reference (Nothing in Visual Basic). |
ValidateChildActivities | true |
ValidationManager(IServiceProvider)
Initializes a new instance of the ValidationManager class using the identified service provider.
public:
ValidationManager(IServiceProvider ^ serviceProvider);
public ValidationManager (IServiceProvider serviceProvider);
new System.Workflow.ComponentModel.Compiler.ValidationManager : IServiceProvider -> System.Workflow.ComponentModel.Compiler.ValidationManager
Public Sub New (serviceProvider As IServiceProvider)
Parameters
- serviceProvider
- IServiceProvider
An IServiceProvider that locates a GUID identified service.
Remarks
For a list of initial property values regarding an instance of the ValidationManager class, see the ValidationManager constructor.
Applies to
ValidationManager(IServiceProvider, Boolean)
Initializes a new instance of the ValidationManager class using the identified service provider and indicates whether child Activity classes should be validated.
public:
ValidationManager(IServiceProvider ^ serviceProvider, bool validateChildActivities);
public ValidationManager (IServiceProvider serviceProvider, bool validateChildActivities);
new System.Workflow.ComponentModel.Compiler.ValidationManager : IServiceProvider * bool -> System.Workflow.ComponentModel.Compiler.ValidationManager
Public Sub New (serviceProvider As IServiceProvider, validateChildActivities As Boolean)
Parameters
- serviceProvider
- IServiceProvider
An IServiceProvider that locates a GUID identified service.
- validateChildActivities
- Boolean
true
to validate the child Activity classes of the current Activity; otherwise, false
.
Remarks
For a list of initial property values regarding an instance of the ValidationManager class, see the ValidationManager constructor.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈