InvalidMessageClassException Class

 

Represents errors that occur when a specified message class name is not valid.

Namespace:   Microsoft.Office.Tools.Outlook
Assembly:  Microsoft.Office.Tools.v4.0.Framework (in Microsoft.Office.Tools.v4.0.Framework.dll)

System::Object
  System::Exception
    System::SystemException
      System::ArgumentException
        Microsoft.Office.Tools.Outlook::InvalidMessageClassException

[SerializableAttribute]
[DebuggerNonUserCodeAttribute]
[SecurityPermissionAttribute(SecurityAction::Demand, Unrestricted = true)]
[SecurityPermissionAttribute(SecurityAction::InheritanceDemand, 
	Unrestricted = true)]
public ref class InvalidMessageClassException sealed : ArgumentException

NameDescription
System_CAPS_pubmethodInvalidMessageClassException()

Initializes a new instance of the InvalidMessageClassException class.

System_CAPS_pubmethodInvalidMessageClassException(Exception^)

System_CAPS_pubmethodInvalidMessageClassException(String^)

Initializes a new instance of the InvalidMessageClassException class by using the invalid message class name.

System_CAPS_pubmethodInvalidMessageClassException(String^, Exception^)

System_CAPS_pubmethodInvalidMessageClassException(String^, String^)

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 ArgumentException.)

System_CAPS_pubpropertyMessageClass

Gets the invalid message class name.

System_CAPS_pubpropertyParamName

(Inherited from ArgumentException.)

System_CAPS_pubpropertySource

(Inherited from Exception.)

System_CAPS_pubpropertyStackTrace

(Inherited from Exception.)

System_CAPS_pubpropertyTargetSite

(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.

Return to top
Show: