共用方式為


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 命名空間