Compartilhar via


AudienceRuleRightContentException class

Representa a exceção lançada pela classe AudienceRuleComponent quando um erro é encontrado na definição da regra.

Inheritance hierarchy

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

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

Syntax

'Declaração
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class AudienceRuleRightContentException _
    Inherits AudienceException
'Uso
Dim instance As AudienceRuleRightContentException
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class AudienceRuleRightContentException : AudienceException

Comentários

Lançada por membros da classe Audience quando a definição da regra está incorreta, por exemplo, se o valor para a regra estiver vazio ou se o valor especificado não coincide com o tipo de dados do operando. Certifique-se de que o conteúdo correto é definido no valor da regra.

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.

Ver também

Referência

AudienceRuleRightContentException members

Microsoft.Office.Server.Audience namespace