AddInException Class

 

The exception that is thrown when an exception is passed between an add-in and the host application.

Namespace:   Microsoft.VisualStudio.Tools.Applications.Runtime
Assembly:  Microsoft.VisualStudio.Tools.Applications.Runtime (in Microsoft.VisualStudio.Tools.Applications.Runtime.dll)

System::Object
  System::Exception
    Microsoft.VisualStudio.Tools.Applications.Runtime::AddInException

[SerializableAttribute]
public ref class AddInException sealed : Exception, ISerializable

NameDescription
System_CAPS_pubmethodAddInException(Exception^)

Initializes a new instance of the AddInException class with a reference to the inner exception that is the cause of this exception.

NameDescription
System_CAPS_pubpropertyData

(Inherited from Exception.)

System_CAPS_pubpropertyHelpLink

(Inherited from Exception.)

System_CAPS_pubpropertyHResult

(Inherited from Exception.)

System_CAPS_pubpropertyInnerException

(Inherited from Exception.)

System_CAPS_pubpropertyMessage

(Inherited from Exception.)

System_CAPS_pubpropertySource

(Inherited from Exception.)

System_CAPS_pubpropertyStackTrace

(Inherited from Exception.)

System_CAPS_pubpropertyTargetSite

(Inherited from Exception.)

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodGetBaseException()

(Inherited from Exception.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetObjectData(SerializationInfo^, StreamingContext)

(Inherited from Exception.)

System_CAPS_pubmethodGetType()

(Inherited from Exception.)

System_CAPS_pubmethodToString()

(Inherited from Exception.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodISerializable::GetObjectData(SerializationInfo^, StreamingContext)

This API supports the product infrastructure and is not intended to be used directly from your code. Adds information about the exception to the specified SerializationInfo.

If a proxy exception has not been mapped for the original exception, the Message property of an AddInException contains the fully qualified type name of the original exception, followed by the fully qualified type names of each of the inner exceptions, and finally the text returned by the ToString method of the original exception. Otherwise, if a proxy exception has been mapped for the original exception, the proxy exception is thrown.

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

Return to top
Show: