Udostępnij za pośrednictwem


UnsafeSerializationException Class

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

The exception that is thrown when Visual Studio Tools for Applications tries to serialize an object that is not serializable.

Namespace:  Microsoft.VisualStudio.Tools.Applications
Assembly:  Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class UnsafeSerializationException _
    Inherits Exception
'Usage
Dim instance As UnsafeSerializationException
[SerializableAttribute]
public sealed class UnsafeSerializationException : Exception
[SerializableAttribute]
public ref class UnsafeSerializationException sealed : public Exception
public final class UnsafeSerializationException extends Exception

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.VisualStudio.Tools.Applications.UnsafeSerializationException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

UnsafeSerializationException Members

Microsoft.VisualStudio.Tools.Applications Namespace