Surrogate<T>.BeforeDeserialize Method

Called before the object deserialization.
Protected Overridable Sub BeforeDeserialize( _ 
ByVal serializationContext As ProtoBuf.SerializationContext
)
This language is not supported or no code example is available.
protected virtual void BeforeDeserialize( 
ProtoBuf.SerializationContext serializationContext 
)
This language is not supported or no code example is available.

Parameters

serializationContext
ProtoBuf.SerializationContext

The serialization context

Exception type Condition

ArgumentException

Thrown when the serialization context is not a valid Serializer object.

Remarks
 
The override of this method must always call the base at the beginning.

.NET Framework

Supported in: 4.8

In this article

Definition