Partilhar via


Classe ReportViewerException

Representa os erros que ocorrem ao exibir ou configurar um relatório.

Hierarquia de herança

Object
  Exception
    Microsoft.Reporting.WinForms.ReportViewerException
      Microsoft.Reporting.WinForms.ClientRenderingException
      Microsoft.Reporting.WinForms.LocalProcessingException
      Microsoft.Reporting.WinForms.MissingDataSourceCredentialsException
      Microsoft.Reporting.WinForms.MissingDataSourceException
      Microsoft.Reporting.WinForms.MissingParameterException
      Microsoft.Reporting.WinForms.MissingReportSourceException
      Microsoft.Reporting.WinForms.ReportSecurityException
      Microsoft.Reporting.WinForms.ReportServerException

Namespace:  Microsoft.Reporting.WinForms
Assembly:  Microsoft.ReportViewer.WinForms (em Microsoft.ReportViewer.WinForms.dll)

Sintaxe

'Declaração
<SerializableAttribute> _
<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public MustInherit Class ReportViewerException _
    Inherits Exception
[SerializableAttribute]
[StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public abstract class ReportViewerException : Exception
[SerializableAttribute]
[StrongNameIdentityPermissionAttribute(SecurityAction::InheritanceDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public ref class ReportViewerException abstract : public Exception
[<AbstractClass>]
[<SerializableAttribute>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
type ReportViewerException =  
    class
        inherit Exception
    end
public abstract class ReportViewerException extends Exception

O tipo ReportViewerException expõe os membros a seguir.

Construtores

  Nome Descrição
Método protegido ReportViewerException(String) Infraestrutura. Inicializa uma nova instância da classe ReportViewerException com mensagens de erro.
Método protegido ReportViewerException(SerializationInfo, StreamingContext) Infraestrutura. Inicializa uma nova instância da classe ReportViewerException com dados serializados.
Método protegido ReportViewerException(String, Exception) Infraestrutura. Inicializa uma nova instância da classe ReportViewerException com mensagem de erro e exceção interna.

Superior

Propriedades

  Nome Descrição
Propriedade pública Data Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Herdado de Exception.)
Propriedade pública HelpLink Gets or sets a link to the help file associated with this exception. (Herdado de Exception.)
Propriedade pública HResult Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Herdado de Exception.)
Propriedade pública InnerException Gets the Exception instance that caused the current exception. (Herdado de Exception.)
Propriedade pública Message Gets a message that describes the current exception. (Herdado de Exception.)
Propriedade pública Source Gets or sets the name of the application or the object that causes the error. (Herdado de Exception.)
Propriedade pública StackTrace Gets a string representation of the immediate frames on the call stack. (Herdado de Exception.)
Propriedade pública TargetSite Gets the method that throws the current exception. (Herdado de Exception.)

Superior

Métodos

  Nome Descrição
Método público Equals Determines whether the specified object is equal to the current object. (Herdado de Object.)
Método protegido Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Herdado de Object.)
Método público GetBaseException When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (Herdado de Exception.)
Método público GetHashCode Serves as the default hash function. (Herdado de Object.)
Método público GetObjectData Segurança crítica. When overridden in a derived class, sets the SerializationInfo with information about the exception. (Herdado de Exception.)
Método público GetType Gets the runtime type of the current instance. (Herdado de Exception.)
Método protegido MemberwiseClone Creates a shallow copy of the current Object. (Herdado de Object.)
Método público ToString Creates and returns a string representation of the current exception. (Herdado de Exception.)

Superior

Eventos

  Nome Descrição
Evento protegido SerializeObjectState Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception. (Herdado de Exception.)

Superior

Acesso thread-safe

Quaisquer membros estático (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.

Consulte também

Referência

Namespace Microsoft.Reporting.WinForms