InvalidMessageClassException Class (2007 System)
Represents errors that occur when a specified message class name is not valid.
Namespace: Microsoft.Office.Tools.Outlook
Assembly: Microsoft.Office.Tools.Outlook.v9.0 (in Microsoft.Office.Tools.Outlook.v9.0.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public NotInheritable Class InvalidMessageClassException _
Inherits ArgumentException
'Usage
Dim instance As InvalidMessageClassException
[SerializableAttribute]
public sealed class InvalidMessageClassException : ArgumentException
[SerializableAttribute]
public ref class InvalidMessageClassException sealed : public ArgumentException
public final class InvalidMessageClassException extends ArgumentException
Remarks
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.
Inheritance Hierarchy
System.Object
System.Exception
System.SystemException
System.ArgumentException
Microsoft.Office.Tools.Outlook.InvalidMessageClassException
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.