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 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應