Editar

Compartir a través de


ValidationManager Constructors

Definition

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