Gets build warning nodes from the specified build.
Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
'Declaration
Public Shared Function GetBuildWarnings ( _
    build As IBuildDetail _
) As List(Of IBuildWarning)
public static List<IBuildWarning> GetBuildWarnings(
    IBuildDetail build
)
public:
static List<IBuildWarning^>^ GetBuildWarnings(
    IBuildDetail^ build
)
static member GetBuildWarnings : 
        build:IBuildDetail -> List<IBuildWarning> 
public static function GetBuildWarnings(
    build : IBuildDetail
) : List<IBuildWarning>
Parameters
- build 
 Type: Microsoft.TeamFoundation.Build.Client.IBuildDetail- The build from which the warning nodes will be retrieved. 
Return Value
Type: System.Collections.Generic.List<IBuildWarning>
The build warning nodes.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.