GetObjectData Method
Collapse the table of content
Expand the table of content

WebFaultException.GetObjectData Method (SerializationInfo, StreamingContext)

.NET Framework (current version)

An implementation of the GetObjectData method that is called when an object is serialized to a stream.

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

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


Type: System.Runtime.Serialization.SerializationInfo

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

Type: System.Runtime.Serialization.StreamingContext

The destination for the serialized object.

.NET Framework
Available since 4.0
Return to top
© 2016 Microsoft