TargetException Constructor (SerializationInfo, StreamingContext)

 

Initializes a new instance of the TargetException class with the specified serialization and context information.

Namespace:   System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

new : 
        info:SerializationInfo *
        context:StreamingContext -> TargetException

Parameters

info
Type: System.Runtime.Serialization.SerializationInfo

The data for serializing or deserializing the object.

context
Type: System.Runtime.Serialization.StreamingContext

The source of and destination for the object.

.NET Framework
Available since 1.1
Return to top
Show: