Delen via


IBuildProjectNode.GetWarnings Method

Gets all the warnings for this project and all its child nodes.

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

Syntax

'Declaration
Function GetWarnings ( _
    warningType As String _
) As List(Of IBuildWarning)
List<IBuildWarning> GetWarnings(
    string warningType
)
List<IBuildWarning^>^ GetWarnings(
    String^ warningType
)
abstract GetWarnings : 
        warningType:string -> List<IBuildWarning> 
function GetWarnings(
    warningType : String
) : List<IBuildWarning>

Parameters

  • warningType
    Type: System.String

    The type of warnings to be retrieved (typically values from ErrorWarningTypes).

Return Value

Type: System.Collections.Generic.List<IBuildWarning>
The warnings.

.NET Framework Security

See Also

Reference

IBuildProjectNode Interface

Microsoft.TeamFoundation.Build.Client Namespace