EntitySurrogate.CheckSurrogateData Method
Protected Overridable Function CheckSurrogateData( _
ByVal content As contentType, _
Optional ByVal logMessage As String = null _
) As Boolean
This language is not supported or no code example is available.
Parameters
- content
- contentType
- logMessage
- string
Return Value
bool
Use this method to add check/warning messages to the Surrogate.Log.
During the serialization process, it is called internally before serializing the surrogate.
During the deserialization process, you can use it for your custom surrogate checks in ConvertToObject or in CopyDataToObject methods in conjunction with the DeserializationContent.