GetObjectData Method
Collapse the table of content
Expand the table of content

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)

<SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags := SecurityPermissionFlag.SerializationFormatter)>
Public Overrides Sub GetObjectData (
	si As SerializationInfo,
	context As StreamingContext
)

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:
© 2016 Microsoft