InvalidToolsetDefinitionException.GetObjectData Method (SerializationInfo, StreamingContext)

 

ISerializable method which we must override since Exception implements this interface If we ever add new members to this class, we'll need to update this.

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)

[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)]
public override void GetObjectData(
	SerializationInfo info,
	StreamingContext context
)

Parameters

info
Type: System.Runtime.Serialization.SerializationInfo

The error information.

context
Type: System.Runtime.Serialization.StreamingContext

The error context.

Return to top
Show: