次の方法で共有


AddinTaskException Class

 

Occurs when an add-in task throws an exception.

Namespace:   Microsoft.WindowsServerSolutions.Administration.ObjectModel.Adorners
Assembly:  Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.WindowsServerSolutions.Administration.ObjectModel.Adorners.AddinTaskException

Syntax

[SerializableAttribute]
public class AddinTaskException : Exception
[SerializableAttribute]
public ref class AddinTaskException : Exception
<SerializableAttribute>
Public Class AddinTaskException
    Inherits Exception

Constructors

Name Description
System_CAPS_pubmethod AddinTaskException()

Creates a new instance of the AddinTaskException class.

System_CAPS_pubmethod AddinTaskException(AddinErrorRecord)

Creates a new instance of the AddinTaskException class, using the specified error record.

System_CAPS_protmethod AddinTaskException(SerializationInfo, StreamingContext)

Creates a new instance of the AddinTaskException class using serialized data.

System_CAPS_pubmethod AddinTaskException(String)

Creates a new instance of the AddinTaskException, using the specified message.

System_CAPS_pubmethod AddinTaskException(String, Exception)

Creates a new instance of the AddinTaskException, using the specified message and inner exception.

Properties

Name Description
System_CAPS_pubproperty Data

(Inherited from Exception.)

System_CAPS_pubproperty ErrorRecord

Retrieves information about the error that occurred.

System_CAPS_pubproperty HelpLink

(Inherited from Exception.)

System_CAPS_pubproperty HResult

(Inherited from Exception.)

System_CAPS_pubproperty InnerException

(Inherited from Exception.)

System_CAPS_pubproperty Message

(Inherited from Exception.)

System_CAPS_pubproperty Source

(Inherited from Exception.)

System_CAPS_pubproperty StackTrace

(Inherited from Exception.)

System_CAPS_pubproperty TargetSite

(Inherited from Exception.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetBaseException()

(Inherited from Exception.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetObjectData(SerializationInfo, StreamingContext)

Sets the serialization information about the exception.(Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)

System_CAPS_pubmethod GetType()

(Inherited from Exception.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Exception.)

Events

Name Description
System_CAPS_protevent SerializeObjectState

(Inherited from Exception.)

Remarks

An add-in task is a task that occurs as part of a hosted email add-in adaptor. Usually, this will occur as a consequence of an error or exception in an extended piece of UI. For more information, see Modifying the UI.

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

Microsoft.WindowsServerSolutions.Administration.ObjectModel.Adorners Namespace

Return to top