Delen via


IBuildWarning Interface

Interface for a BuildWarning type of IBuildInformationNode. To obtain an 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 IBuildWarning _
    Inherits IBuildErrorBase
public interface IBuildWarning : IBuildErrorBase
public interface class IBuildWarning : IBuildErrorBase
type IBuildWarning =  
    interface 
        interface IBuildErrorBase 
    end
public interface IBuildWarning extends IBuildErrorBase

The IBuildWarning 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 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.)
Public property WarningType Gets or sets the type of the warning.

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