ActivityManager.Validate Method
Validates specified workflow activitities.
Namespace: Microsoft.Workflow.Client
Assembly: Microsoft.Workflow.Client (in Microsoft.Workflow.Client.dll)
Overload List
Name | Description | |
---|---|---|
Validate(ActivityDescription) | Validates a workflow activity. |
|
Validate(ActivityDescription, Boolean) | Validaes a workflow activity and optionally uses the name of activity as the value of X:classname attribute in xaml. |
|
Validate(IEnumerable<ActivityDescription>) | Validates a collection of workflow activities. |
Remarks
ActivityValidationExceptionis thrown If validation fails.
See Also
ActivityManager Class
Microsoft.Workflow.Client Namespace
Return to top
ActivityManager.Validate Method (ActivityDescription)
Validates a workflow activity.
Syntax
public void Validate(
ActivityDescription description
)
public:
void Validate(
ActivityDescription^ description
)
member Validate :
description:ActivityDescription -> unit
Public Sub Validate (
description As ActivityDescription
)
Parameters
description
Type: Microsoft.Workflow.Client.ActivityDescriptionDescription of workflow activity to be validated.
Remarks
ActivityValidationExceptionis thrown If validation fails.
Return to top
ActivityManager.Validate Method (ActivityDescription, Boolean)
Validaes a workflow activity and optionally uses the name of activity as the value of X:classname attribute in xaml.
Syntax
public void Validate(
ActivityDescription description,
bool overwriteXClassName
)
public:
void Validate(
ActivityDescription^ description,
bool overwriteXClassName
)
member Validate :
description:ActivityDescription *
overwriteXClassName:bool -> unit
Public Sub Validate (
description As ActivityDescription,
overwriteXClassName As Boolean
)
Parameters
description
Type: Microsoft.Workflow.Client.ActivityDescriptionDescription of workflow activity to be validated.
overwriteXClassName
Type: System.BooleanTrue if x:ClassName attribute in xaml should be overwritten by the Name property specified in ActivityDescription. False if otherwise.
Remarks
ActivityValidationExceptionis thrown If validation fails.
Return to top
ActivityManager.Validate Method (IEnumerable<ActivityDescription>)
Validates a collection of workflow activities.
Syntax
public void Validate(
IEnumerable<ActivityDescription> descriptions
)
public:
void Validate(
IEnumerable<ActivityDescription^>^ descriptions
)
member Validate :
descriptions:IEnumerable<ActivityDescription> -> unit
Public Sub Validate (
descriptions As IEnumerable(Of ActivityDescription)
)
Parameters
descriptions
Type: System.Collections.Generic.IEnumerable<ActivityDescription>A collection of workflow activity descriptions to be validated.
Remarks
ActivityValidationExceptionis thrown If validation fails.
Return to top