VsaException.GetObjectData 方法

此成员支持 .NET Framework 结构,不能在代码中直接使用。

命名空间:  Microsoft.Vsa
程序集:  Microsoft.Vsa(在 Microsoft.Vsa.dll 中)

语法

声明
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter := True)> _
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public Overrides Sub GetObjectData ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public override void GetObjectData(
    SerializationInfo info,
    StreamingContext context
)
[SecurityPermissionAttribute(SecurityAction::Demand, SerializationFormatter = true)]
[PermissionSetAttribute(SecurityAction::Demand, Name = L"FullTrust")]
public:
virtual void GetObjectData(
    SerializationInfo^ info, 
    StreamingContext context
) override
[<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)>]
[<PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")>]
abstract GetObjectData : 
        info:SerializationInfo * 
        context:StreamingContext -> unit 
[<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)>]
[<PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")>]
override GetObjectData : 
        info:SerializationInfo * 
        context:StreamingContext -> unit
public override function GetObjectData(
    info : SerializationInfo, 
    context : StreamingContext
)

参数

  • info
    类型:SerializationInfo
  • context
    类型:StreamingContext

实现

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

请参阅

参考

VsaException 类

Microsoft.Vsa 命名空间