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
info
Type: System.Runtime.Serialization.SerializationInfoThe serialized information about the exception.
context
Type: System.Runtime.Serialization.StreamingContextThe contextual information about the source or destination for the serialization operation.
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