The workflow designer has a rich programming model that supports communication with the host. In order to programmatically call validation on a rehosted designer, use the following method:
designer.Context.Services.GetService<ValidationSErvice>().ValidateWorkflow();
To handle resulting validation errors, publish an implementation of IValidationErrorService, which will expose the set of errors through ValidationService.NavigateTo().
Mischa Barton Jamie Lynn Sigler Stacy Keibler Rihanna America Ferrera
No comments:
Post a Comment