Classe ReportServerException
Representa os erros que ocorrem ao se conectar a um servidor de relatório e também erros ocorridos no servidor de relatório ao processar um relatório do servidor ou renderizar o relatório para o formato de RPL.
Hierarquia de herança
Object
Exception
Microsoft.Reporting.WebForms.ReportViewerException
Microsoft.Reporting.WebForms.ReportServerException
Microsoft.Reporting.WebForms.MissingEndpointException
Microsoft.Reporting.WebForms.SoapVersionMismatchException
Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (em Microsoft.ReportViewer.WebForms.dll)
Sintaxe
'Declaração
<SerializableAttribute> _
<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public Class ReportServerException _
Inherits ReportViewerException
[SerializableAttribute]
[StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public class ReportServerException : ReportViewerException
[SerializableAttribute]
[StrongNameIdentityPermissionAttribute(SecurityAction::InheritanceDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public ref class ReportServerException : public ReportViewerException
[<SerializableAttribute>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
type ReportServerException =
class
inherit ReportViewerException
end
public class ReportServerException extends ReportViewerException
O tipo ReportServerException expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
ReportServerException(SerializationInfo, StreamingContext) | Infraestrutura. Inicializa uma nova instância da classe ReportServerException com dados serializados. | |
ReportServerException(String, String, Exception) | Infraestrutura. Inicializa uma nova instância da classe ReportServerException. |
Superior
Propriedades
Nome | Descrição | |
---|---|---|
Data | Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Herdado de Exception.) | |
ErrorCode | Retorna o código de erro da exceção. | |
HelpLink | Gets or sets a link to the help file associated with this exception. (Herdado de Exception.) | |
HResult | Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Herdado de Exception.) | |
InnerException | Gets the Exception instance that caused the current exception. (Herdado de Exception.) | |
Message | Gets a message that describes the current exception. (Herdado de Exception.) | |
Source | Gets or sets the name of the application or the object that causes the error. (Herdado de Exception.) | |
StackTrace | Gets a string representation of the immediate frames on the call stack. (Herdado de Exception.) | |
TargetSite | Gets the method that throws the current exception. (Herdado de Exception.) |
Superior
Métodos
Nome | Descrição | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Herdado de Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Herdado de Object.) | |
GetBaseException | When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (Herdado de Exception.) | |
GetHashCode | Serves as the default hash function. (Herdado de Object.) | |
GetObjectData | Infraestrutura. Preenche a estrutura de SerializationInfo com informações sobre a exceção. (Substitui Exception.GetObjectData(SerializationInfo, StreamingContext).) | |
GetType | Gets the runtime type of the current instance. (Herdado de Exception.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Herdado de Object.) | |
ToString | Creates and returns a string representation of the current exception. (Herdado de Exception.) |
Superior
Eventos
Nome | Descrição | |
---|---|---|
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.