Compartir a través de


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

'Declaración
<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
Public methodStatic member 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.
Public methodStatic member DeserializeProcessParameters Creates and returns an Activity object by deserializing the data in the specified XAML string.
Public methodStatic member DeserializeWorkflow Gets the Activity object described by the specified XAML markup.
Public methodStatic member FindResource Gets a localized string describing the resource at the specified ID.
Public methodStatic member GetCombinedMetadata Gets the metadata associated with the process parameters defined in the specified Activity.
Public methodStatic member GetDefaultMetadata Gets a collection of metadata that supports the built-in process templates (default and upgrade).
Public methodStatic member GetMetadata Gets the value of the metadata property of the specified activity.
Public methodStatic member GetProcessParameters Gets the process parameter information from the specified activity and returns it as a dictionary.
Public methodStatic member GetProcessParametersAndMetadata Gets the process parameters and metadata from the specified process.
Public methodStatic member GetProcessParameterValue<T> Gets the value of the specified process parameter. If the process parameter does not exist the default value is returned.
Public methodStatic member SerializeProcessParameters Serializes the specified process parameter and values into a XAML string.
Public methodStatic member ValidateWorkflow(Activity) Validates the specified activity tree.
Public methodStatic member ValidateWorkflow(Activity, ValidationSettings) Validates the specified activity tree using optional settings provided by the caller.

Top

Fields

  Name Description
Public fieldStatic member MetadataPropertyName Metadata.
Public fieldStatic member SupportedReasonsPropertyName SupportedReasons.
Public fieldStatic member 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.

See Also

Reference

Microsoft.TeamFoundation.Build.Workflow Namespace