Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SafeSerializationEventArgs::AddSerializedState Method (ISafeSerializationData^)

.NET Framework (current version)
 

Stores the state of the exception.

Namespace:   System.Runtime.Serialization
Assembly:  mscorlib (in mscorlib.dll)

public:
void AddSerializedState(
	ISafeSerializationData^ serializedState
)

Parameters

serializedState
Type: System.Runtime.Serialization::ISafeSerializationData^

A state object that is serialized with the instance.

The class or structure that implements the ISafeSerializationData allows you to serialize custom data in security-transparent code.

For more information and an example, see the ISafeSerializationData class.

.NET Framework
Available since 4.0
Return to top
Show:
© 2017 Microsoft