SafeSerializationEventArgs Class
Definition
Provides data for the SerializeObjectState event.
public ref class SafeSerializationEventArgs sealed : EventArgs
public sealed class SafeSerializationEventArgs : EventArgs
type SafeSerializationEventArgs = class
inherit EventArgs
Public NotInheritable Class SafeSerializationEventArgs
Inherits EventArgs
- Inheritance
Remarks
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.
Properties
StreamingContext |
Gets or sets an object that describes the source and destination of a serialized stream. |
Methods
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() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |