GetObjectData Method (info, context)

DTF API

Copy image CopyHover image
Deployment Tools Foundation GetObjectData Method (info, context)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerInstallerExceptionGetObjectData(SerializationInfo, StreamingContext)
Sets the SerializationInfo with information about the exception.
Declaration Syntax
C# Visual Basic Visual C++ F#
public override void GetObjectData(
	SerializationInfo info,
	StreamingContext context
)
Public Overrides Sub GetObjectData ( 
	info As SerializationInfo,
	context As StreamingContext
)
public:
virtual void GetObjectData(
	SerializationInfo^ info, 
	StreamingContext context
) override
abstract GetObjectData : 
        info : SerializationInfo * 
        context : StreamingContext -> unit 
override GetObjectData : 
        info : SerializationInfo * 
        context : StreamingContext -> unit 
Parameters
info (SerializationInfo)
The SerializationInfo that holds the serialized object data about the exception being thrown.
context (StreamingContext)
The StreamingContext that contains contextual information about the source or destination.

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)