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)

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