ReportServerException 類別
表示在連線到報表伺服器時所發生的錯誤,以及在處理伺服器報表或將報表轉譯為報表頁面配置 (RPL) 格式時報表伺服器上所發生的錯誤。
繼承階層架構
Object
Exception
Microsoft.Reporting.WinForms.ReportViewerException
Microsoft.Reporting.WinForms.ReportServerException
Microsoft.Reporting.WinForms.MissingEndpointException
Microsoft.Reporting.WinForms.SoapVersionMismatchException
命名空間: Microsoft.Reporting.WinForms
組件: Microsoft.ReportViewer.WinForms (在 Microsoft.ReportViewer.WinForms.dll 中)
語法
'宣告
<SerializableAttribute> _
<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public Class ReportServerException _
Inherits ReportViewerException
[SerializableAttribute]
[StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public class ReportServerException : ReportViewerException
[SerializableAttribute]
[StrongNameIdentityPermissionAttribute(SecurityAction::InheritanceDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public ref class ReportServerException : public ReportViewerException
[<SerializableAttribute>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
type ReportServerException =
class
inherit ReportViewerException
end
public class ReportServerException extends ReportViewerException
ReportServerException 類型會公開下列成員。
建構函式
名稱 | 描述 | |
---|---|---|
![]() |
ReportServerException(SerializationInfo, StreamingContext) | 基礎架構。 使用序列化資料,初始化 ReportServerException 類別的新執行個體。 |
![]() |
ReportServerException(String, String, Exception) | 基礎架構。 使用錯誤訊息、錯誤碼和內部例外狀況,初始化 ReportServerException 類別的新執行個體。 |
回頁首
屬性
名稱 | 描述 | |
---|---|---|
![]() |
Data | 取得提供例外狀況之其他使用者定義相關資訊的索引鍵/值組集合。 (繼承自 Exception)。 |
![]() |
ErrorCode | 從例外狀況中傳回錯誤碼。 |
![]() |
HelpLink | 取得或設定與這個例外狀況相關聯的說明檔連結。 (繼承自 Exception)。 |
![]() |
HResult | 取得或設定 HRESULT,它是指派給特定例外狀況的編碼數值。 (繼承自 Exception)。 |
![]() |
InnerException | 取得造成目前例外狀況的 Exception 執行個體。 (繼承自 Exception)。 |
![]() |
Message | 取得描述目前例外狀況的訊息。 (繼承自 Exception)。 |
![]() |
Source | 取得或設定造成錯誤的應用程式或物件的名稱。 (繼承自 Exception)。 |
![]() |
StackTrace | 取得呼叫堆疊上即時運算框架的字串表示。 (繼承自 Exception)。 |
![]() |
TargetSite | 取得擲回目前例外狀況的方法。 (繼承自 Exception)。 |
回頁首
方法
名稱 | 描述 | |
---|---|---|
![]() |
Equals | 判斷指定的物件是否等於目前的物件。 (繼承自 Object)。 |
![]() |
Finalize | 在記憶體回收開始前,允許物件嘗試釋放資源,並執行其他清除作業。 (繼承自 Object)。 |
![]() |
GetBaseException | 在衍生類別中覆寫時,傳回一或多個後續的例外狀況的根本原因 Exception。 (繼承自 Exception)。 |
![]() |
GetHashCode | 做為預設雜湊函式。 (繼承自 Object)。 |
![]() |
GetObjectData | 基礎架構。 以例外狀況的相關資訊填入 SerializationInfo 結構。 (覆寫 Exception.GetObjectData(SerializationInfo, StreamingContext)。) |
![]() |
GetType | 取得目前執行個體的執行階段類型。 (繼承自 Exception)。 |
![]() |
MemberwiseClone | 建立目前 Object 的淺層複製 (Shallow Copy) 。 (繼承自 Object)。 |
![]() |
ToString | 建立並傳回目前例外狀況的字串表示。 (繼承自 Exception)。 |
回頁首
事件
名稱 | 描述 | |
---|---|---|
![]() |
SerializeObjectState | 當例外狀況序列化,以建立包含例外狀況相關序列化資料的例外狀況狀態物件時,就會發生此事件。 (繼承自 Exception)。 |
回頁首
執行緒安全
這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。