InformationNodeConverters Class
Provides methods to convert IBuildInformationNode objects to more specific types.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Build.Client.InformationNodeConverters
Namespace: Microsoft.TeamFoundation.Build.Client
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
'Declaración
<ExtensionAttribute> _
Public NotInheritable Class InformationNodeConverters
public static class InformationNodeConverters
[ExtensionAttribute]
public ref class InformationNodeConverters abstract sealed
[<AbstractClass>]
[<Sealed>]
type InformationNodeConverters = class end
public final class InformationNodeConverters
The InformationNodeConverters type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddActivityTracking | Adds an activity tracking node to the specified build information object. Does not save to the server. | |
AddAgentScopeActivityTracking | Adds an agent scope activity tracking node to a build information object. Does not save to the server. | |
AddAssociatedChangesets(IBuildDetail, array<Changeset[]) | Associates summaries of changesets with a build. | |
AddAssociatedChangesets(IBuildInformation, array<Changeset[]) | Adds an array of changesets to the specified build information. Saves the modified build information to the server. | |
AddAssociatedWorkItems(IBuildDetail, array<WorkItem[]) | Adds associated work item summaries to the specified build. Saves to the server. | |
AddAssociatedWorkItems(IBuildInformation, array<WorkItem[]) | Adds associates summaries of work items the specified build information object. Does not save to the server. | |
AddBuildError(IBuildInformation, String, DateTime) | Adds an error to the specified build information object. Does not save to the server. | |
AddBuildError(IBuildInformation, String, Int32, Int32, String, String, DateTime) | Adds an error to the specified build information object. Does not save to the server. | |
AddBuildError(IBuildInformation, String, String, Int32, Int32, String, String, DateTime) | Adds an error to to the specified build information object. Does not save to the server. | |
AddBuildError(IBuildInformation, String, String, String, Int32, Int32, String, String, DateTime) | Adds an error to the specified build information object. Does not save to the server. | |
AddBuildMessage | Adds a message to the specified build. Does not save to the server. | |
AddBuildProjectNode(IBuildInformation, String, String, String, String, DateTime, String) | Adds a project to the specified build information. Does not save to the server. | |
AddBuildProjectNode(IBuildInformation, DateTime, String, String, String, String, DateTime, String) | Adds a project to the specified build information object. Does not save to the server. | |
AddBuildStep(IBuildDetail, String, String) | Adds a top-level build step to the specified build with a start time of DateTime.Now. Saves to the server. | |
AddBuildStep(IBuildInformation, String, String) | Adds a top-level build step to the specified build information object with a start time of DateTime.Now. Does not save to the server. | |
AddBuildStep(IBuildDetail, String, String, DateTime) | Adds a top-level build step to the specified build. Saves to the server. | |
AddBuildStep(IBuildInformation, String, String, DateTime) | Adds a top-level build step to the specified build information object. Does not save to the server. | |
AddBuildStep(IBuildDetail, String, String, DateTime, BuildStepStatus) | Adds a top-level build step to the specified build. Saves to the server. | |
AddBuildStep(IBuildInformation, String, String, DateTime, BuildStepStatus) | Adds a top-level build step to the specified build information object. Does not save to the server. | |
AddBuildWarning(IBuildInformation, String, DateTime) | Adds a warning to the specified build information object. Does not save to the server. | |
AddBuildWarning(IBuildInformation, String, Int32, Int32, String, String, DateTime) | Adds a warning to the specified build information object. Does not save to the server. | |
AddBuildWarning(IBuildInformation, String, Int32, Int32, String, String, DateTime, String) | Adds a warning to the specified build information object. Does not save to the server. | |
AddBuildWarning(IBuildInformation, String, String, Int32, Int32, String, String, DateTime, String) | Adds a warning to the specified build information object. Does not save to the server. | |
AddConfigurationSummary(IBuildInformation, String, String) | Adds a configuration summary to the specified build information object. Does not save to the server. | |
AddConfigurationSummary(IBuildDetail, String, String, String) | Obsolete. Adds a configuration summary to a build. | |
AddExternalLink | Adds an external link to the specified build information object. Does not save to the server. | |
AddOpenedWorkItems(IBuildDetail, array<WorkItem[]) | Adds associated opened work item summaries with the specified build. Saves to the server. | |
AddOpenedWorkItems(IBuildInformation, array<WorkItem[]) | Adds associated open work item summaries with the specified build information object. Does not save to the server. | |
GetActivityTracking(IBuildDetail, Int32) | Gets an activity tracking node from the specified build with the specified ID. | |
GetActivityTracking(IBuildDetail, String) | Gets an activity tracking node from the specified build with the specified instance ID. | |
GetActivityTracking(IBuildInformation, String) | Gets an activity tracking node from the specified build information object with the specified instance ID. | |
GetActivityTrackingNodes(IBuildDetail) | Gets the activity tracking nodes from the specified build. | |
GetActivityTrackingNodes(IBuildInformation) | Gets the activity tracking nodes from the specified build information object. | |
GetAssociatedChangesets(IBuildDetail) | Gets the associated changeset summaries from the specified build. | |
GetAssociatedChangesets(IBuildInformation) | Get the associated changeset summaries from the specified build information object. | |
GetAssociatedWorkItems(IBuildDetail) | Gets the associated work item summaries from the specified build. | |
GetAssociatedWorkItems(IBuildInformation) | Gets the associated work item summaries from the specified build information object. | |
GetBuildError | Converts a single IBuildInformationNode of type BuildError into an IBuildError object. | |
GetBuildErrors(IBuildDetail) | Gets the build error nodes from the specified build. | |
GetBuildErrors(IBuildInformation) | Gets the build error nodes from a build information object. | |
GetBuildProjectNode | Gets the project node with the corresponding local path, or null if none is found. | |
GetBuildProjectNodes(IBuildDetail) | Gets the build project nodes from the specified build. | |
GetBuildProjectNodes(IBuildInformation) | Gets the build project nodes from the specified build information object. | |
GetBuildSteps(IBuildDetail) | Gets a sorted list of the build steps from the specified build. | |
GetBuildSteps(IBuildInformation) | Gets a sorted list of the build steps from the specified build information object. | |
GetBuildWarning | Converts a single IBuildInformationNode of type BuildWarning into an IBuildWarning object. | |
GetBuildWarnings(IBuildDetail) | Gets build warning nodes from the specified build. | |
GetBuildWarnings(IBuildInformation) | Gets the build warning nodes from the specified build information object. | |
GetChangesetId | Gets a changeset ID from the specified build information object. | |
GetConfigurationSummaries(IBuildDetail) | Gets the configuration summaries from the specified build. | |
GetConfigurationSummaries(IBuildInformation) | Gets the configuration summaries from the specified build information object. | |
GetConfigurationSummary(IBuildInformationNode) | Gets a configuration summary from the specified build information node. | |
GetConfigurationSummary(IBuildDetail, String, String) | Gets a configuration summary from the specified build. | |
GetConfigurationSummary(IBuildInformation, String, String) | Gets a configuration summary from the specified build information object. | |
GetOpenedWorkItems(IBuildDetail) | Gets the associated opened work item summaries for the specified build. | |
GetOpenedWorkItems(IBuildInformation) | Gets the associated opened work item summaries for the specified build information object. | |
GetTopLevelProjects(IBuildDetail) | Gets the top-level build project nodes from the specified build. | |
GetTopLevelProjects(IBuildInformation) | Gets top-level build project nodes from the specified build information object. |
Top
Remarks
The InformationNodeConverters class can be used to add IBuildInformationNodes of various types to an IBuildDetail, or to get IBuildInformationNodes of various types from an IBuildDetail. In both cases, return values of the various static methods will typically be helper interface types, such as IBuildStep or IConfigurationSummary. These types serve to simplify access to the underlying IBuildInformationNode objects.
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.