共用方式為


SetDataBindingFailedException.GetObjectData Method

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

Namespace:  Microsoft.Office.Tools.Excel
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

SetDataBindingFailedException Class

Microsoft.Office.Tools.Excel Namespace