Partager via


InvalidPropertyException.ISerializable.GetObjectData Method

Gets the object data by using the serialization information and the streaming context.

Namespace:  Microsoft.Office.Server.Search.Query
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
<SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags := SecurityPermissionFlag.SerializationFormatter)> _
Private Sub GetObjectData ( _
    info As SerializationInfo, _
    context As StreamingContext _
) Implements ISerializable.GetObjectData
'Usage
Dim instance As InvalidPropertyException
Dim info As SerializationInfo
Dim context As StreamingContext

CType(instance, ISerializable).GetObjectData(info, _
    context)
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)]
void ISerializable.GetObjectData(
    SerializationInfo info,
    StreamingContext context
)

Parameters

Implements

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

See Also

Reference

InvalidPropertyException Class

InvalidPropertyException Members

Microsoft.Office.Server.Search.Query Namespace