Share via


FormRegionMessageClassAttribute Constructor

Initializes a new instance of the FormRegionMessageClassAttribute class.

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

Syntax

'Declaration
Public Sub New ( _
    messageClass As String _
)
public FormRegionMessageClassAttribute(
    string messageClass
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

The messageClass argument is nulla null reference (Nothing in Visual Basic) or is empty.

ArgumentException

The messageClass argument is greater than 255 characters in length.

InvalidMessageClassException

The messageClass argument is invalid. For more information about valid message class names, see Associating a Form Region with an Outlook Message Class.

.NET Framework Security

See Also

Reference

FormRegionMessageClassAttribute Class

Microsoft.Office.Tools.Outlook Namespace