次の方法で共有


ViewStateDisabledException クラス

ReportViewer コントロールが、ビューステートが無効になっていることを検出したときに発生します。

継承階層

System.Object
  System.Exception
    Microsoft.Reporting.WebForms.ReportViewerException
      Microsoft.Reporting.WebForms.ViewStateDisabledException

名前空間:  Microsoft.Reporting.WebForms
アセンブリ:  Microsoft.ReportViewer.WebForms (Microsoft.ReportViewer.WebForms.dll)

構文

'宣言
<SerializableAttribute> _
Public NotInheritable Class ViewStateDisabledException _
    Inherits ReportViewerException
'使用
Dim instance As ViewStateDisabledException
[SerializableAttribute]
public sealed class ViewStateDisabledException : ReportViewerException
[SerializableAttribute]
public ref class ViewStateDisabledException sealed : public ReportViewerException
[<SealedAttribute>]
[<SerializableAttribute>]
type ViewStateDisabledException =  
    class
        inherit ReportViewerException
    end
public final class ViewStateDisabledException extends ReportViewerException

ViewStateDisabledException 型は、以下のメンバーを公開しています。

プロパティ

  名前 説明
パブリック プロパティ Data (Exception から継承されています。)
パブリック プロパティ HelpLink (Exception から継承されています。)
プロテクト プロパティ HResult (Exception から継承されています。)
パブリック プロパティ InnerException (Exception から継承されています。)
パブリック プロパティ Message (Exception から継承されています。)
パブリック プロパティ Source (Exception から継承されています。)
パブリック プロパティ StackTrace (Exception から継承されています。)
パブリック プロパティ TargetSite (Exception から継承されています。)

Top

メソッド

  名前 説明
パブリック メソッド Equals (Object から継承されています。)
プロテクト メソッド Finalize (Object から継承されています。)
パブリック メソッド GetBaseException (Exception から継承されています。)
パブリック メソッド GetHashCode (Object から継承されています。)
パブリック メソッド GetObjectData (Exception から継承されています。)
パブリック メソッド GetType (Exception から継承されています。)
プロテクト メソッド MemberwiseClone (Object から継承されています。)
パブリック メソッド ToString (Exception から継承されています。)

Top

説明

ReportViewer コントロールが正常に機能するためには、ASP.NET ページでビューステートが有効になっている必要があります。詳細については、「ASP.NET View State Overview」を参照してください。

スレッド セーフ

この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

関連項目

参照

Microsoft.Reporting.WebForms 名前空間