Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetObjectData Method
Collapse the table of content
Expand the table of content

OracleException::GetObjectData Method

Sets the SerializationInfo with information about the exception.

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

[SecurityPermissionAttribute(SecurityAction::LinkDemand, Flags = SecurityPermissionFlag::SerializationFormatter)]
public:
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.

Implements

ISerializable::GetObjectData(SerializationInfo, StreamingContext)
_Exception::GetObjectData(SerializationInfo, StreamingContext)

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft