다음을 통해 공유


RankingModelNotFoundException.ISerializable.GetObjectData Method

Adds information about the exception to the serialized information.

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 RankingModelNotFoundException
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)

Remarks

During deserialization, the exception is reconstituted from the serialized information transmitted over the stream.

See Also

Reference

RankingModelNotFoundException Class

RankingModelNotFoundException Members

Microsoft.Office.Server.Search.Query Namespace