Klasa ViewStateDisabledException
Occurs when the ReportViewer control detects that view state is disabled.
Hierarchia dziedziczenia
Object
Exception
Microsoft.Reporting.WebForms.ReportViewerException
Microsoft.Reporting.WebForms.ViewStateDisabledException
Przestrzeń nazw: Microsoft.Reporting.WebForms
Zestaw: Microsoft.ReportViewer.WebForms (w Microsoft.ReportViewer.WebForms.dll)
Składnia
'Deklaracja
<SerializableAttribute> _
Public NotInheritable Class ViewStateDisabledException _
Inherits ReportViewerException
[SerializableAttribute]
public sealed class ViewStateDisabledException : ReportViewerException
[SerializableAttribute]
public ref class ViewStateDisabledException sealed : public ReportViewerException
[<Sealed>]
[<SerializableAttribute>]
type ViewStateDisabledException =
class
inherit ReportViewerException
end
public final class ViewStateDisabledException extends ReportViewerException
Typ ViewStateDisabledException uwidacznia następujące elementy członkowskie.
Właściwości
Nazwa | Opis | |
---|---|---|
![]() |
Data | Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Odziedziczone z Exception). |
![]() |
HelpLink | Gets or sets a link to the help file associated with this exception. (Odziedziczone z Exception). |
![]() |
HResult | Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Odziedziczone z Exception). |
![]() |
InnerException | Gets the Exception instance that caused the current exception. (Odziedziczone z Exception). |
![]() |
Message | Gets a message that describes the current exception. (Odziedziczone z Exception). |
![]() |
Source | Gets or sets the name of the application or the object that causes the error. (Odziedziczone z Exception). |
![]() |
StackTrace | Gets a string representation of the immediate frames on the call stack. (Odziedziczone z Exception). |
![]() |
TargetSite | Gets the method that throws the current exception. (Odziedziczone z Exception). |
Początek
Metody
Nazwa | Opis | |
---|---|---|
![]() |
Equals | Determines whether the specified object is equal to the current object. (Odziedziczone z Object). |
![]() |
GetBaseException | When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (Odziedziczone z Exception). |
![]() |
GetHashCode | Serves as the default hash function. (Odziedziczone z Object). |
![]() |
GetObjectData | Krytyczny pod względem zabezpieczeń When overridden in a derived class, sets the SerializationInfo with information about the exception. (Odziedziczone z Exception). |
![]() |
GetType | Gets the runtime type of the current instance. (Odziedziczone z Exception). |
![]() |
ToString | Creates and returns a string representation of the current exception. (Odziedziczone z Exception). |
Początek
Uwagi
You must enable view state in your ASP.NET page for the ReportViewer control to function properly. For more information, see ASP.NET View State Overview.
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.