Udostępnij za pośrednictwem


Klasa MissingReportServerConnectionInformationException

Occurs when session state is not enabled, and an object implementing IReportServerConnection interface is not supplied through the Web.config file.

Hierarchia dziedziczenia

Object
  Exception
    SystemException
      ConfigurationException
        ConfigurationErrorsException
          Microsoft.Reporting.WebForms.MissingReportServerConnectionInformationException

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

Składnia

'Deklaracja
<SerializableAttribute> _
Public NotInheritable Class MissingReportServerConnectionInformationException _
    Inherits ConfigurationErrorsException
[SerializableAttribute]
public sealed class MissingReportServerConnectionInformationException : ConfigurationErrorsException
[SerializableAttribute]
public ref class MissingReportServerConnectionInformationException sealed : public ConfigurationErrorsException
[<Sealed>]
[<SerializableAttribute>]
type MissingReportServerConnectionInformationException =  
    class
        inherit ConfigurationErrorsException
    end
public final class MissingReportServerConnectionInformationException extends ConfigurationErrorsException

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

Właściwości

  Nazwa Opis
Właściwość publiczna BareMessage Pobiera opis dlaczego tej konfiguracji wystąpił wyjątek. (Odziedziczone z ConfigurationErrorsException).
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 Errors Zwraca kolekcję błędów, które szczegółowo przyczyny, to ConfigurationErrorsException wystąpił wyjątek. (Odziedziczone z ConfigurationErrorsException).
Właściwość publiczna Filename Pobiera ścieżkę do pliku konfiguracyjnego, który spowodował wyjątek ten konfiguracji zostać wygenerowany. (Odziedziczone z ConfigurationErrorsException).
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 Line Pobiera numer wiersza w pliku konfiguracyjnym, w którym zgłoszono wyjątek tej konfiguracji. (Odziedziczone z ConfigurationErrorsException).
Właściwość publiczna Message Pobiera rozszerzonego opisu Dlaczego tej konfiguracji wystąpił wyjątek. (Odziedziczone z ConfigurationErrorsException).
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 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 Infrastruktura. Zestawy SerializationInfo obiekt z pliku numer nazwy i linii podczas wystąpił wyjątek w tej konfiguracji. (Odziedziczone z ConfigurationErrorsException).
Metoda publiczna GetType Gets the runtime type of the current instance. (Odziedziczone z Exception).
Metoda publiczna ToString Creates and returns a string representation of the current exception. (Odziedziczone z Exception).

Początek

Uwagi

Please see Web.config Settings for ReportViewer for more information.

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