共用方式為


IBuildErrorBase Interface

Interface for BuildError and BuildWarning types of IBuildInformationNodes. To obtain an IBuildError or IBuildWarning, use the InformationNodeConverters class.

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)

Syntax

'Declaration
Public Interface IBuildErrorBase
public interface IBuildErrorBase
public interface class IBuildErrorBase
type IBuildErrorBase =  interface end
public interface IBuildErrorBase

The IBuildErrorBase type exposes the following members.

Properties

  Name Description
Public property Code Gets or sets the error or warning code.
Public property EndLineNumber Gets or sets the ending line number of the error or warning.
Public property File Gets or sets the file of the error or warning.
Public property LineNumber Gets or sets the starting line number of the error or warning.
Public property Message Gets or sets the message of the error or warning.
Public property Node Gets the underlying IBuildInformationNode.
Public property ServerPath Gets or sets the server path of the file, if it can be determined.
Public property Timestamp Gets or sets the time at which the error or warning occurred.

Top

Methods

  Name Description
Public method Save Saves the build error to the server.

Top

See Also

Reference

Microsoft.TeamFoundation.Build.Client Namespace