WorkflowHelpers Class
Contains static methods to assist in validating and processing workflow operations.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Build.Workflow.WorkflowHelpers
Namespace: Microsoft.TeamFoundation.Build.Workflow
Assembly: Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)
Syntax
'Déclaration
<ExtensionAttribute> _
Public NotInheritable Class WorkflowHelpers
public static class WorkflowHelpers
[ExtensionAttribute]
public ref class WorkflowHelpers abstract sealed
[<AbstractClass>]
[<Sealed>]
type WorkflowHelpers = class end
public final class WorkflowHelpers
The WorkflowHelpers type exposes the following members.
Methods
Name | Description | |
---|---|---|
CombineMetadata | Gets a ProcessParameterMetadataCollection that contains the specified baseMetadata parameters combined with the overriding overridingMetadata parameters. Values from overridingMetadata are kept if there is a conflict between the two data. | |
DeserializeProcessParameters | Creates and returns an Activity object by deserializing the data in the specified XAML string. | |
DeserializeWorkflow | Gets the Activity object described by the specified XAML markup. | |
FindResource | Gets a localized string describing the resource at the specified ID. | |
GetCombinedMetadata | Gets the metadata associated with the process parameters defined in the specified Activity. | |
GetDefaultMetadata | Gets a collection of metadata that supports the built-in process templates (default and upgrade). | |
GetMetadata | Gets the value of the metadata property of the specified activity. | |
GetProcessParameters | Gets the process parameter information from the specified activity and returns it as a dictionary. | |
GetProcessParametersAndMetadata | Gets the process parameters and metadata from the specified process. | |
GetProcessParameterValue<T> | Gets the value of the specified process parameter. If the process parameter does not exist the default value is returned. | |
SerializeProcessParameters | Serializes the specified process parameter and values into a XAML string. | |
ValidateWorkflow(Activity) | Validates the specified activity tree. | |
ValidateWorkflow(Activity, ValidationSettings) | Validates the specified activity tree using optional settings provided by the caller. |
Top
Fields
Name | Description | |
---|---|---|
MetadataPropertyName | Metadata. | |
SupportedReasonsPropertyName | SupportedReasons. | |
VerbosityPropertyName | Verbosity. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.