Aracılığıyla paylaş


AddInException Class

Definition

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

public ref class AddInException sealed : Exception
[System.Serializable]
public sealed class AddInException : Exception
[<System.Serializable>]
type AddInException = class
    inherit Exception
    interface ISerializable
Public NotInheritable Class AddInException
Inherits Exception
Inheritance
AddInException
Attributes
Implements

Remarks

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.

Constructors

AddInException(Exception)

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

Explicit Interface Implementations

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

Adds information about the exception to the specified SerializationInfo.

Applies to