SerializationServices.GetSerializationException Method (ParameterInfo) |
Namespace: PostSharp.Serialization
Assembly: PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
public static PortableSerializationException GetSerializationException( ParameterInfo parameterInfo )
Parameters
- parameterInfo
- Type: System.Reflection.ParameterInfo
The declaration to be serialized.
Return Value
Type: PortableSerializationExceptionnull if parameterInfo can be safely serialized, otherwise an exception where the text describes the reason why the declaration is not serializable.