Share via


BuildAbortedException Constructor (SerializationInfo, StreamingContext)

Protected constructor used for (de)serialization.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Exceptions
Assembly:  Microsoft.Build (in Microsoft.Build.dll)

Syntax

'Declaration
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
protected BuildAbortedException(
    SerializationInfo info,
    StreamingContext context
)
protected:
BuildAbortedException(
    SerializationInfo^ info, 
    StreamingContext context
)
new : 
        info:SerializationInfo * 
        context:StreamingContext -> BuildAbortedException
protected function BuildAbortedException(
    info : SerializationInfo, 
    context : StreamingContext
)

Parameters

  • info
    Type: SerializationInfo

    The error information.

  • context
    Type: StreamingContext

    The error context.

.NET Framework Security

See Also

Reference

BuildAbortedException Class

BuildAbortedException Overload

Microsoft.Build.Exceptions Namespace