Partager via


ConsoleErrorDisplay - Classe

Représente le contrôle qui est utilisé pour afficher les détails d'une erreur qui s'est produite lors de la création ou de modification des opérations.

Hiérarchie d’héritage

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      Microsoft.SharePoint.Publishing.WebControls.ConsoleErrorDisplay

Espace de noms :  Microsoft.SharePoint.Publishing.WebControls
Assembly :  Microsoft.SharePoint.Publishing (dans Microsoft.SharePoint.Publishing.dll)

Syntaxe

'Déclaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class ConsoleErrorDisplay _
    Inherits WebControl _
    Implements IPostBackEventHandler
'Utilisation
Dim instance As ConsoleErrorDisplay
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class ConsoleErrorDisplay : WebControl, 
    IPostBackEventHandler

Remarques

Placer ce contrôle dans la page fournit un emplacement pour les messages d'erreur et les actions recommandées appropriées s'affiche.

Cohérence de thread

Tous les membres statique (Partagé dans Visual Basic)s publics de ce type sont thread-safe. Cela n’est pas garanti pour les membres d’instance.

Voir aussi

Référence

ConsoleErrorDisplay - Membres

Microsoft.SharePoint.Publishing.WebControls - Espace de noms