Delen via


'NonSerialized' attribute will not affect this member because its containing class is not exposed as 'Serializable'

By default, classes and their members are non-serializable. The NonSerializedAttribute attribute is only needed if a member of a serializable class should not be serialized.

Error ID: BC30772

To correct this error

See Also

Reference

NonSerializedAttribute

SerializableAttribute

Other Resources

Attributes in Visual Basic