JScriptException::GetObjectData Method (SerializationInfo^, StreamingContext)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Stores information about the exception, including IsError and Code values, in the SerializationInfo.

Namespace:   Microsoft.JScript
Assembly:  Microsoft.JScript (in Microsoft.JScript.dll)

public:
[SecurityCriticalAttribute]
[SecurityPermissionAttribute(SecurityAction::Demand, SerializationFormatter = true)]
virtual void GetObjectData(
	SerializationInfo^ info,
	StreamingContext context
) override

Parameters

info
Type: System.Runtime.Serialization::SerializationInfo^

The serialized object data about the exception that is being thrown.

context
Type: System.Runtime.Serialization::StreamingContext

Contextual information about the source or destination.

.NET Framework
Available since 1.1
Return to top
Show: