vb System.Runtime.Serialization.ISafeSerializationData.CompleteDeserialization类(方法)实例源码

下面列出了vb System.Runtime.Serialization.ISafeSerializationData.CompleteDeserialization 类(方法)源码代码实例,从而了解它的用法。

作者:VB.NET开发    项目:System.Runtime.Serializatio   
' This method is called when deserialization of the 
' exception is complete.
Sub CompleteDeserialization(ByVal obj As Object) _
    Implements ISafeSerializationData.CompleteDeserialization

    ' Since the exception simply contains an instance 
    ' of the exception state object, we can repopulate it 
    ' here by just setting its instance field
    ' to be equal to this deserialized state instance.
    Dim exception As NewException = _
        CType(obj, NewException)
    exception.m_state = Me
End Sub


问题


面经


文章

微信
公众号

扫码关注公众号