FaultException<TDetail>::GetObjectData Method (SerializationInfo^, StreamingContext)

 

Implementation of the ISerializable::GetObjectData method that is called when the object is serialized into a stream.

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

public:
[SecurityCriticalAttribute]
[SecurityPermissionAttribute(SecurityAction::LinkDemand, SerializationFormatter = true)]
virtual void GetObjectData(
	SerializationInfo^ info,
	StreamingContext context
) override

Parameters

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

The serialization information to which the object data is added when serialized.

context
Type: System.Runtime.Serialization::StreamingContext

The destination for the serialized object.

.NET Framework
Available since 3.0
Return to top
Show: