ReportViewerException 類別

 

發行︰ 2016年4月

代表檢視或設定報表時,所發生的錯誤。

命名空間:   Microsoft.Reporting.WinForms
組件:  Microsoft.ReportViewer.WinForms (於 Microsoft.ReportViewer.WinForms.dll)

繼承階層

System.Object
  System.Exception
    Microsoft.Reporting.WinForms.ReportViewerException
      Microsoft.Reporting.WinForms.ClientRenderingException
      Microsoft.Reporting.WinForms.LocalProcessingException
      Microsoft.Reporting.WinForms.MissingDataSourceCredentialsException
      Microsoft.Reporting.WinForms.MissingDataSourceException
      Microsoft.Reporting.WinForms.MissingParameterException
      Microsoft.Reporting.WinForms.MissingReportSourceException
      Microsoft.Reporting.WinForms.ReportSecurityException
      Microsoft.Reporting.WinForms.ReportServerException

語法

[SerializableAttribute]
[StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, 
    PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public abstract class ReportViewerException : Exception
[SerializableAttribute]
[StrongNameIdentityPermissionAttribute(SecurityAction::InheritanceDemand, 
    PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public ref class ReportViewerException abstract : Exception
[<AbstractClass>]
[<SerializableAttribute>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand,
    PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
type ReportViewerException = 
    class
        inherit Exception
    end
<SerializableAttribute>
<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand,
    PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>
Public MustInherit Class ReportViewerException
    Inherits Exception

建構函式

名稱 描述
System_CAPS_protmethod ReportViewerException(SerializationInfo, StreamingContext)

此 API 支援 產品 基礎結構,而且不適合直接從程式碼使用。 使用序列化資料,初始化 ReportViewerException 類別的新執行個體。

System_CAPS_protmethod ReportViewerException(String)

此 API 支援 產品 基礎結構,而且不適合直接從程式碼使用。 使用錯誤訊息,初始化 ReportViewerException 類別的新執行個體。

System_CAPS_protmethod ReportViewerException(String, Exception)

此 API 支援 產品 基礎結構,而且不適合直接從程式碼使用。 使用錯誤訊息和內部例外狀況,初始化 ReportViewerException 類別的新執行個體。

屬性

名稱 描述
System_CAPS_pubproperty Data

(繼承自 Exception。)

System_CAPS_pubproperty HelpLink

(繼承自 Exception。)

System_CAPS_protproperty HResult

(繼承自 Exception。)

System_CAPS_pubproperty InnerException

(繼承自 Exception。)

System_CAPS_pubproperty Message

(繼承自 Exception。)

System_CAPS_pubproperty Source

(繼承自 Exception。)

System_CAPS_pubproperty StackTrace

(繼承自 Exception。)

System_CAPS_pubproperty TargetSite

(繼承自 Exception。)

方法

名稱 描述
System_CAPS_pubmethod Equals(Object)

(繼承自 Object。)

System_CAPS_protmethod Finalize()

(繼承自 Object。)

System_CAPS_pubmethod GetBaseException()

(繼承自 Exception。)

System_CAPS_pubmethod GetHashCode()

(繼承自 Object。)

System_CAPS_pubmethod GetObjectData(SerializationInfo, StreamingContext)

(繼承自 Exception。)

System_CAPS_pubmethod GetType()

(繼承自 Exception。)

System_CAPS_protmethod MemberwiseClone()

(繼承自 Object。)

System_CAPS_pubmethod ToString()

(繼承自 Exception。)

執行緒安全

此類型的任何 public static (在 Visual Basic 中 共用 在 Visual Basic 中) 成員皆為安全執行緒。不保證任何執行個體成員為安全執行緒。

另請參閱

Microsoft.Reporting.WinForms 命名空間

回到頁首