FaultException<TDetail> Constructor (SerializationInfo^, StreamingContext)

 

Initializes a new instance of the FaultException<TDetail> class using the specified serialization information and context when deserializing a stream into a FaultException object.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

protected:
FaultException(
	SerializationInfo^ info,
	StreamingContext context
)

Parameters

info
Type: System.Runtime.Serialization::SerializationInfo^

The serialization information necessary to reconstruct the FaultException object from the context.

context
Type: System.Runtime.Serialization::StreamingContext

The stream from which to reconstruct the FaultException object.

.NET Framework
Available since 3.0
Return to top
Show: