Прочетете на английски Редактиране

Споделяне чрез


ActivityValidationServices Class

Definition

Provides the functionality to validate a workflow.

C#
public static class ActivityValidationServices
Inheritance
ActivityValidationServices

Methods

Resolve(Activity, String)

Retrieves the workflow activity with the specified ID in the specified workflow.

Validate(Activity, ValidationSettings)

Verifies that a workflow activity is correctly configured according to the validation logic. This logic can be the cacheMetadata method of the activities to validate, or build and policy constraints.

Validate(Activity)

Verifies that a workflow activity is correctly configured according to the validation logic. This logic can be the CacheMetadata(CodeActivityMetadata) method of the activities to validate, or build and policy constraints.

Applies to

Продукт Версии
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1