Metoda MultipleCachedDataCouldNotBeSerializedException.GetObjectData —
This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.
Ten element członkowski zastępuje element Exception.GetObjectData(SerializationInfo, StreamingContext).
Przestrzeń nazw: Microsoft.VisualStudio.Tools.Applications.Runtime
Zestaw: Microsoft.VisualStudio.Tools.Applications.Runtime (w Microsoft.VisualStudio.Tools.Applications.Runtime.dll)
Składnia
'Deklaracja
Public Overrides Sub GetObjectData ( _
info As SerializationInfo, _
context As StreamingContext _
)
public override void GetObjectData(
SerializationInfo info,
StreamingContext context
)
Parametry
- context
Typ: System.Runtime.Serialization.StreamingContext
Implementuje
ISerializable.GetObjectData(SerializationInfo, StreamingContext)
_Exception.GetObjectData(SerializationInfo, StreamingContext)
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Używanie bibliotek pochodzących z częściowo zaufanego kodu.
Zobacz też
Informacje
MultipleCachedDataCouldNotBeSerializedException Klasa
Przestrzeń nazw Microsoft.VisualStudio.Tools.Applications.Runtime