type field is not marked serializable code example Example: Type is not marked as serializable. [Serializable] public class OrgPermission