Udostępnij za pośrednictwem


Klasa ReportViewerException

Represents errors that occur while viewing or configuring a report.

Hierarchia dziedziczenia

Object
  Exception
    Microsoft.Reporting.WebForms.ReportViewerException
      Więcej...

Przestrzeń nazw:  Microsoft.Reporting.WebForms
Zestaw:  Microsoft.ReportViewer.WebForms (w Microsoft.ReportViewer.WebForms.dll)

Składnia

'Deklaracja
<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

Typ ReportViewerException uwidacznia następujące elementy członkowskie.

Konstruktorzy

  Nazwa Opis
Metoda chroniona ReportViewerException(String) Infrastruktura. Initializes a new instance of the ReportViewerException class with error message.
Metoda chroniona ReportViewerException(SerializationInfo, StreamingContext) Infrastruktura. Initializes a new instance of the ReportViewerException class with serialized data.
Metoda chroniona ReportViewerException(String, Exception) Infrastruktura. Initializes a new instance of the ReportViewerException class with error message and inner exception.

Początek

Właściwości

  Nazwa Opis
Właściwość publiczna Data Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Odziedziczone z Exception).
Właściwość publiczna HelpLink Gets or sets a link to the help file associated with this exception. (Odziedziczone z Exception).
Właściwość publiczna HResult Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Odziedziczone z Exception).
Właściwość publiczna InnerException Gets the Exception instance that caused the current exception. (Odziedziczone z Exception).
Właściwość publiczna Message Gets a message that describes the current exception. (Odziedziczone z Exception).
Właściwość publiczna Source Gets or sets the name of the application or the object that causes the error. (Odziedziczone z Exception).
Właściwość publiczna StackTrace Gets a string representation of the immediate frames on the call stack. (Odziedziczone z Exception).
Właściwość publiczna TargetSite Gets the method that throws the current exception. (Odziedziczone z Exception).

Początek

Metody

  Nazwa Opis
Metoda publiczna Equals Determines whether the specified object is equal to the current object. (Odziedziczone z Object).
Metoda chroniona Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Odziedziczone z Object).
Metoda publiczna GetBaseException When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (Odziedziczone z Exception).
Metoda publiczna GetHashCode Serves as the default hash function. (Odziedziczone z Object).
Metoda publiczna GetObjectData Krytyczny pod względem zabezpieczeń When overridden in a derived class, sets the SerializationInfo with information about the exception. (Odziedziczone z Exception).
Metoda publiczna GetType Gets the runtime type of the current instance. (Odziedziczone z Exception).
Metoda chroniona MemberwiseClone Creates a shallow copy of the current Object. (Odziedziczone z Object).
Metoda publiczna ToString Creates and returns a string representation of the current exception. (Odziedziczone z Exception).

Początek

Zdarzenia

  Nazwa Opis
Zdarzenie chronione SerializeObjectState Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception. (Odziedziczone z Exception).

Początek

Bezpieczeństwo wątku

Wszystkie publiczne static (Shared w języku Visual Basic) elementy członkowskie tego typu są bezpieczne dla wątków. Wystąpienia elementów członkowskich nie dają gwarancji bezpieczeństwa wątków.

Zobacz też

Informacje

Przestrzeń nazw Microsoft.Reporting.WebForms

Hierarchia dziedziczenia

Object
  Exception
    Microsoft.Reporting.WebForms.ReportViewerException
      Microsoft.Reporting.WebForms.AspNetSessionExpiredException
      Microsoft.Reporting.WebForms.ClientRenderingException
      Microsoft.Reporting.WebForms.LocalProcessingException
      Microsoft.Reporting.WebForms.MissingDataSourceCredentialsException
      Microsoft.Reporting.WebForms.MissingDataSourceException
      Microsoft.Reporting.WebForms.MissingParameterException
      Microsoft.Reporting.WebForms.MissingReportSourceException
      Microsoft.Reporting.WebForms.ReportSecurityException
      Microsoft.Reporting.WebForms.ReportServerException
      Microsoft.Reporting.WebForms.ViewStateDisabledException