InvalidProjectFileException::GetObjectData Method (SerializationInfo^, StreamingContext)
Visual Studio 2015
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.
Assembly: Microsoft.Build (in Microsoft.Build.dll)
public: [SecurityPermissionAttribute(SecurityAction::Demand, SerializationFormatter = true)] virtual void GetObjectData( SerializationInfo^ info, StreamingContext context ) override
Parameters
- info
-
Type:
System.Runtime.Serialization::SerializationInfo^
The error information.
- context
-
Type:
System.Runtime.Serialization::StreamingContext
The error context.
Show: