Initializes a new StopBuildFailedException instance.
Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
声明
Public Sub New ( _
    build As String, _
    failureMessage As String _
)
public StopBuildFailedException(
    string build,
    string failureMessage
)
public:
StopBuildFailedException(
    String^ build, 
    String^ failureMessage
)
new : 
        build:string * 
        failureMessage:string -> StopBuildFailedException
public function StopBuildFailedException(
    build : String, 
    failureMessage : String
)
Parameters
- build
 Type: System.String
 The build that failed to stop.
- failureMessage
 Type: System.String
 A message that describes the failure.
.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.