ValidationManager ValidationManager ValidationManager ValidationManager Constructors

Definition

Overloads

ValidationManager(IServiceProvider) ValidationManager(IServiceProvider) ValidationManager(IServiceProvider) ValidationManager(IServiceProvider)

Initializes a new instance of the ValidationManager class using the identified service provider.

ValidationManager(IServiceProvider, Boolean) ValidationManager(IServiceProvider, Boolean) ValidationManager(IServiceProvider, Boolean) 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) ValidationManager(IServiceProvider) ValidationManager(IServiceProvider) 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 IServiceProvider IServiceProvider 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.

ValidationManager(IServiceProvider, Boolean) ValidationManager(IServiceProvider, Boolean) ValidationManager(IServiceProvider, Boolean) 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 IServiceProvider IServiceProvider IServiceProvider

An IServiceProvider that locates a GUID identified service.

validateChildActivities
Boolean Boolean Boolean 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