InvalidMessageClassException Class
Represents errors that occur when a specified message class name is not valid.
Assembly: Microsoft.Office.Tools.v4.0.Framework (in Microsoft.Office.Tools.v4.0.Framework.dll)
System::Exception
System::SystemException
System::ArgumentException
Microsoft.Office.Tools.Outlook::InvalidMessageClassException
| Name | Description | |
|---|---|---|
![]() | InvalidMessageClassException() | Initializes a new instance of the InvalidMessageClassException class. |
![]() | InvalidMessageClassException(Exception^) | |
![]() | InvalidMessageClassException(String^) | Initializes a new instance of the InvalidMessageClassException class by using the invalid message class name. |
![]() | InvalidMessageClassException(String^, Exception^) | |
![]() | InvalidMessageClassException(String^, String^) |
| Name | Description | |
|---|---|---|
![]() | Data | (Inherited from Exception.) |
![]() | HelpLink | (Inherited from Exception.) |
![]() | HResult | (Inherited from Exception.) |
![]() | InnerException | (Inherited from Exception.) |
![]() | Message | (Inherited from ArgumentException.) |
![]() | MessageClass | Gets the invalid message class name. |
![]() | ParamName | (Inherited from ArgumentException.) |
![]() | Source | (Inherited from Exception.) |
![]() | StackTrace | (Inherited from Exception.) |
![]() | TargetSite | (Inherited from Exception.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | GetBaseException() | (Inherited from Exception.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetObjectData(SerializationInfo^, StreamingContext) | |
![]() | GetType() | (Inherited from Exception.) |
![]() | ToString() | (Inherited from Exception.) |
This exception can occur if you specify an invalid message class name for the FormRegionMessageClassAttribute.
This exception can also occur if you set the TargetForm property of the FormRegionCustomAction to an invalid message class name.
For more information about valid message class names, see Associating a Form Region with an Outlook Message Class.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

