This documentation is archived and is not being maintained.

FaultException.GetObjectData Method

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 override void GetObjectData (
	SerializationInfo info,
	StreamingContext context
)
public void GetObjectData (
	SerializationInfo info, 
	StreamingContext context
)
public override function GetObjectData (
	info : SerializationInfo, 
	context : StreamingContext
)
Not applicable.

Parameters

info

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

context

The destination for the serialized object.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Show: