Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

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 4.0
Return to top
Show:
© 2017 Microsoft