Share via


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 (in Microsoft.Office.Server.dll)

Syntax

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