Share via


BuildFailedException Class

Represents a BuildFailedException should be thrown to indicate that the build cannot continue. This will stop the build process.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.SqlServer.Dac.Deployment.BuildFailedException

Namespace:  Microsoft.SqlServer.Dac.Deployment
Assembly:  Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class BuildFailedException _
    Inherits Exception
'Usage
Dim instance As BuildFailedException
[SerializableAttribute]
public sealed class BuildFailedException : Exception
[SerializableAttribute]
public ref class BuildFailedException sealed : public Exception
[<SealedAttribute>]
[<SerializableAttribute>]
type BuildFailedException =  
    class 
        inherit Exception 
    end
public final class BuildFailedException extends Exception

The BuildFailedException type exposes the following members.

Constructors

  Name Description
Public method BuildFailedException(String) Initializes a new instance of the BuildFailedException with a string exception message.
Public method BuildFailedException(String, Exception) Initializes a new instance of the BuildFailedException with a string exception message and an inner Exception providing more information about the failure.

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property HelpLink (Inherited from Exception.)
Public property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message (Inherited from Exception.)
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Security Critical. (Inherited from Exception.)
Public method GetType (Inherited from Exception.)
Public method ToString (Inherited from Exception.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Dac.Deployment Namespace