Click or drag to resize
OSIsoft, LLC

PIConnectionExceptionGetObjectData Method

Populates a SerializationInfo with the data needed to serialize the target object.

Namespace:  OSIsoft.AF.PI
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 2.10.8.440
Syntax
[SecurityCriticalAttribute]
public override void GetObjectData(
	SerializationInfo info,
	StreamingContext context
)

Parameters

info
Type: System.Runtime.SerializationSerializationInfo
The SerializationInfo to populate with data.
context
Type: System.Runtime.SerializationStreamingContext
The destination (see StreamingContext) for this serialization.

Implements

ISerializableGetObjectData(SerializationInfo, StreamingContext)
_ExceptionGetObjectData(SerializationInfo, StreamingContext)
Remarks

Any objects included in the SerializationInfo are automatically tracked and serialized by the formatter. This implementation uses the object's Persist method to create the serialization data for the object.

Code that calls GetObjectData requires the SecurityPermission for providing serialization services.

Version Information

AFSDK

Supported in: 2.10.5, 2.10, 2.9.5, 2.9, 2.8.5, 2.8, 2.7.5, 2.7, 2.6, 2.5
See Also
Enabling Operational Intelligence