FastSerializerSurrogateSetObjectData Method |
Populates the object using the information in the SerializationInfo.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.12.0.0 (5.12.0)
Syntaxpublic Object SetObjectData(
Object obj,
SerializationInfo info,
StreamingContext context,
ISurrogateSelector selector
)
Public Function SetObjectData (
obj As Object,
info As SerializationInfo,
context As StreamingContext,
selector As ISurrogateSelector
) As Object
Parameters
- obj
- Type: SystemObject
The object to populate. - info
- Type: System.Runtime.SerializationSerializationInfo
The information to populate the object. - context
- Type: System.Runtime.SerializationStreamingContext
The source from which the object is deserialized. - selector
- Type: System.Runtime.SerializationISurrogateSelector
The surrogate selector where the search for a compatible surrogate begins.
Return Value
Type:
ObjectThe populated deserialized object.
Implements
ISerializationSurrogateSetObjectData(Object, SerializationInfo, StreamingContext, ISurrogateSelector)
ExceptionsException | Condition |
---|
SecurityException | The caller does not have the required permission. |
See Also