CogSerializationSurrogate ClassCognex VisionPro 9.22
This class serializes and deserializes objects in such a way that if fields are added or removed in future versions of an object, it does not cause an error when the object is loaded.
Inheritance Hierarchy

System Object
  Cognex.VisionPro.Implementation CogSerializationSurrogate

Namespace: Cognex.VisionPro.Implementation
Assembly: Cognex.VisionPro (in Cognex.VisionPro.dll) Version: 87.0.0.0 (87.0.0.0)
Syntax

public class CogSerializationSurrogate : ISerializationSurrogate

The CogSerializationSurrogate type exposes the following members.

Constructors

  NameDescription
Public methodCogSerializationSurrogate
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodStatic memberGetObjectData(Object, SerializationInfo, StreamingContext)
Populates the provided SerializationInfo with the data needed to serialize the object.
Public methodStatic memberGetObjectData(Object, SerializationInfo, StreamingContext, Type)
Populates the provided SerializationInfo with the data needed to serialize the object.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberSetObjectData(Object, SerializationInfo, StreamingContext)
Populates the object using the information in the SerializationInfo.
Public methodStatic memberSetObjectData(Object, SerializationInfo, StreamingContext, Type)
Populates the object using the information in the SerializationInfo.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
See Also