OracleException::GetObjectData Method (SerializationInfo^, StreamingContext)

 

Sets the SerializationInfo with information about the exception.

Namespace:   System.Data.OracleClient
Assembly:  System.Data.OracleClient (in System.Data.OracleClient.dll)

public:
[SecurityPermissionAttribute(SecurityAction::LinkDemand, Flags = SecurityPermissionFlag::SerializationFormatter)]
virtual void GetObjectData(
	SerializationInfo^ si,
	StreamingContext context
) override

Parameters

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

The SerializationInfo that holds the serialized object data about the exception being thrown.

context
Type: System.Runtime.Serialization::StreamingContext

The StreamingContext that contains contextual information about the source or destination.

.NET Framework
Available since 1.1
Return to top
Show: