FaultException<TDetail>.GetObjectData Method (SerializationInfo, StreamingContext)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

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

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: