Condividi tramite


AdminException Class

This exception is thrown by the Administration object model.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.SharePoint.Search.Extended.Administration.Common.AdminException

Namespace:  Microsoft.SharePoint.Search.Extended.Administration.Common
Assembly:  Microsoft.SharePoint.Search.Extended.Administration.Common (in Microsoft.SharePoint.Search.Extended.Administration.Common.dll)

Syntax

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

Remarks

The AdminException can be caused by both functional and nonfunctional errors. Every AdminException has an error code and an error message.

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

AdminException Members

Microsoft.SharePoint.Search.Extended.Administration.Common Namespace