MembershipException class

Represents an exception that is thrown when an unknown error occurs.

Inheritance hierarchy

System.Object
  System.Exception
    Microsoft.Office.Server.UserProfiles.MembershipException
      Microsoft.Office.Server.UserProfiles.MemberGroupExistsException
      Microsoft.Office.Server.UserProfiles.MemberGroupNotFoundException
      Microsoft.Office.Server.UserProfiles.MembershipInvalidValueException
      Microsoft.Office.Server.UserProfiles.MembershipNotFoundException
      Microsoft.Office.Server.UserProfiles.MembershipRequiredValueException

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 MembershipException _
    Inherits Exception
'Usage
Dim instance As MembershipException
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public class MembershipException : Exception

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

MembershipException members

Microsoft.Office.Server.UserProfiles namespace