InvalidToolsetDefinitionException.GetObjectData Method (SerializationInfo, StreamingContext)
Sets the SerializationInfo with information about the exception.
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.
Assembly: Microsoft.Build.Engine (in Microsoft.Build.Engine.dll)
[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)] public override void GetObjectData( SerializationInfo info, StreamingContext context )
The SerializationInfo that holds the serialized object data about the exception being thrown.
This constructor is called during deserialization to reconstitute the exception object transmitted over a stream. For more information, see XML and SOAP Serialization.