InvalidDataTypeException class

Represents an exception that is thrown when an invalid data type is specified or a data type is not specified for the property.

Inheritance hierarchy

System.Object
  System.Exception
    Microsoft.Office.Server.UserProfiles.UserProfileException
      Microsoft.Office.Server.UserProfiles.InvalidDataTypeException

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Class InvalidDataTypeException _
    Inherits UserProfileException
'Usage
Dim instance As InvalidDataTypeException
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public class InvalidDataTypeException : UserProfileException

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

Reference

InvalidDataTypeException members

Microsoft.Office.Server.UserProfiles namespace