共用方式為


AudienceException Class

Represents the base class for audience exceptions.

Inheritance Hierarchy

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.Office.Server.Audience.AudienceException
        

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

Syntax

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

Remarks

The derived exceptions from this class are AudienceNoContentException, AudienceArgumentException, AudienceDuplicateNameException, AudienceExecutionException, AudienceInCompilationException, AudienceRuleDefinitionException, AudienceOperatorException, AudienceRuleRightContentException, AudienceRuleLeftContentException, AudienceGroupOperationException, AudienceADImportException, AudienceConnectionException, AudienceNameDescriptionLengthException, AudienceDataValueOutOfRangeException, AudienceNotExistException, and AudienceWrongAccountNameFormatException.

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

AudienceException Members

Microsoft.Office.Server.Audience Namespace

Inheritance Hierarchy

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.Office.Server.Audience.AudienceException
        Microsoft.Office.Server.Audience.AudienceAccountNameNotResolvedException
        Microsoft.Office.Server.Audience.AudienceADImportException
        Microsoft.Office.Server.Audience.AudienceArgumentException
        Microsoft.Office.Server.Audience.AudienceConnectionException
        Microsoft.Office.Server.Audience.AudienceDataValueOutOfRangeException
        Microsoft.Office.Server.Audience.AudienceDataWrongFormatException
        Microsoft.Office.Server.Audience.AudienceDuplicateNameException
        Microsoft.Office.Server.Audience.AudienceExecutionException
        Microsoft.Office.Server.Audience.AudienceGroupOperationException
        Microsoft.Office.Server.Audience.AudienceInCompilationException
        Microsoft.Office.Server.Audience.AudienceNameDescriptionLengthException
        Microsoft.Office.Server.Audience.AudienceNoContentException
        Microsoft.Office.Server.Audience.AudienceNotExistException
        Microsoft.Office.Server.Audience.AudienceOperatorException
        Microsoft.Office.Server.Audience.AudienceOwnerAccountNameLengthException
        Microsoft.Office.Server.Audience.AudienceRuleLeftContentException
        Microsoft.Office.Server.Audience.AudienceRuleRightContentException
        Microsoft.Office.Server.Audience.AudienceWrongAccountNameFormatException