SafeSerializationEventArgs Class
Provides data for the SerializeObjectState event.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | StreamingContext | Gets or sets an object that describes the source and destination of a serialized stream. |
| Name | Description | |
|---|---|---|
![]() | AddSerializedState(ISafeSerializationData^) | Stores the state of the exception. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
The event occurs when serializing an exception that contains custom data in security-transparent code.
For more information and an example, see the ISafeSerializationData class.
Available since 4.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

