Initializes a new BuildAgentFailureException instance.
Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
声明
Public Sub New ( _
    teamProject As String, _
    name As String, _
    failure As IFailure _
)
public BuildAgentFailureException(
    string teamProject,
    string name,
    IFailure failure
)
public:
BuildAgentFailureException(
    String^ teamProject, 
    String^ name, 
    IFailure^ failure
)
new : 
        teamProject:string * 
        name:string * 
        failure:IFailure -> BuildAgentFailureException
public function BuildAgentFailureException(
    teamProject : String, 
    name : String, 
    failure : IFailure
)
Parameters
- teamProject
 Type: System.String
 The team project that contains the failed build agent.
- name
 Type: System.String
 The name of the failed build agent.
- failure
 Type: Microsoft.TeamFoundation.Build.Client.IFailure
 The specific failure instance.
.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.