SafeSerializationEventArgs SafeSerializationEventArgs SafeSerializationEventArgs 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
SafeSerializationEventArgsSafeSerializationEventArgsSafeSerializationEventArgsSafeSerializationEventArgs

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 StreamingContext StreamingContext StreamingContext

Gets or sets an object that describes the source and destination of a serialized stream.

Methods

AddSerializedState(ISafeSerializationData) AddSerializedState(ISafeSerializationData) AddSerializedState(ISafeSerializationData) AddSerializedState(ISafeSerializationData)

Stores the state of the exception.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to