共用方式為


AddInException.ISerializable.GetObjectData 方法

This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.

將例外狀況的相關資訊加入到指定的 SerializationInfo

命名空間:  Microsoft.VisualStudio.Tools.Applications.Runtime
組件:  Microsoft.VisualStudio.Tools.Applications.Runtime (在 Microsoft.VisualStudio.Tools.Applications.Runtime.dll 中)

語法

'宣告
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter := True)> _
Private Sub GetObjectData ( _
    info As SerializationInfo, _
    context As StreamingContext _
) Implements ISerializable.GetObjectData
[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)]
void ISerializable.GetObjectData(
    SerializationInfo info,
    StreamingContext context
)

參數

實作

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

.NET Framework 安全性

請參閱

參考

AddInException 類別

Microsoft.VisualStudio.Tools.Applications.Runtime 命名空間