IBuildError Interface

Interface for a BuildError type of IBuildInformationNode. To obtain an IBuildError, use the InformationNodeConverters class.

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

Syntax

声明
Public Interface IBuildError _
    Inherits IBuildErrorBase
public interface IBuildError : IBuildErrorBase
public interface class IBuildError : IBuildErrorBase
type IBuildError =  
    interface
        interface IBuildErrorBase
    end
public interface IBuildError extends IBuildErrorBase

The IBuildError type exposes the following members.

Properties

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

Top

Methods

  Name Description
Public method Save Saves the build error to the server. (Inherited from IBuildErrorBase.)

Top

See Also

Reference

Microsoft.TeamFoundation.Build.Client Namespace