InvalidMessageClassException.GetObjectData Method

This member overrides ArgumentException.GetObjectData(SerializationInfo, StreamingContext), and more complete documentation might be available in that topic.This member overrides ArgumentException.GetObjectData(SerializationInfo, StreamingContext).

Namespace:  Microsoft.Office.Tools.Outlook
Assembly:  Microsoft.Office.Tools.v4.0.Framework (in Microsoft.Office.Tools.v4.0.Framework.dll)

Syntax

'Declaration
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter := True)> _
Public Overrides Sub GetObjectData ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)]
public override void GetObjectData(
    SerializationInfo info,
    StreamingContext context
)

Parameters

Implements

ISerializable.GetObjectData(SerializationInfo, StreamingContext)
_Exception.GetObjectData(SerializationInfo, StreamingContext)

.NET Framework Security

See Also

Reference

InvalidMessageClassException Class

Microsoft.Office.Tools.Outlook Namespace