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
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示