System.Globalization.CultureNotFoundException.GetObjectData Method

Sets the System.Runtime.Serialization.SerializationInfo object with the parameter name and additional exception information.

Syntax

public override void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)

Parameters

info
The object that holds the serialized object data.
context
The contextual information about the source or destination.

Remarks

CultureNotFoundException.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext) sets a System.Runtime.Serialization.SerializationInfo with all the exception object data targeted for serialization. During deserialization, the exception object is reconstituted from the System.Runtime.Serialization.SerializationInfo transmitted over the stream.

For more information, see System.Runtime.Serialization.SerializationInfo.

Requirements

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0