ReportServerException 類別
發行︰ 2016年4月
表示在連線到報表伺服器時所發生的錯誤,以及在處理伺服器報表或將報表轉譯為報表頁面配置 (RPL) 格式時報表伺服器上所發生的錯誤。
命名空間: Microsoft.Reporting.WinForms
組件: Microsoft.ReportViewer.WinForms (於 Microsoft.ReportViewer.WinForms.dll)
繼承階層
System.Object
System.Exception
Microsoft.Reporting.WinForms.ReportViewerException
Microsoft.Reporting.WinForms.ReportServerException
Microsoft.Reporting.WinForms.MissingEndpointException
Microsoft.Reporting.WinForms.SoapVersionMismatchException
語法
[SerializableAttribute]
[StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand,
PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public class ReportServerException : ReportViewerException
[SerializableAttribute]
[StrongNameIdentityPermissionAttribute(SecurityAction::InheritanceDemand,
PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public ref class ReportServerException : ReportViewerException
[<SerializableAttribute>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand,
PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
type ReportServerException =
class
inherit ReportViewerException
end
<SerializableAttribute>
<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand,
PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>
Public Class ReportServerException
Inherits ReportViewerException
建構函式
名稱 | 描述 | |
---|---|---|
ReportServerException(SerializationInfo, StreamingContext) | 此 API 支援 產品 基礎結構,而且不適合直接從程式碼使用。 使用序列化資料,初始化 ReportServerException 類別的新執行個體。 |
|
ReportServerException(String, String, Exception) | 此 API 支援 產品 基礎結構,而且不適合直接從程式碼使用。 使用錯誤訊息、錯誤碼和內部例外狀況,初始化 ReportServerException 類別的新執行個體。 |
屬性
名稱 | 描述 | |
---|---|---|
Data | (繼承自 Exception。) |
|
ErrorCode | 從例外狀況中傳回錯誤碼。 |
|
HelpLink | (繼承自 Exception。) |
|
HResult | (繼承自 Exception。) |
|
InnerException | (繼承自 Exception。) |
|
Message | (繼承自 Exception。) |
|
Source | (繼承自 Exception。) |
|
StackTrace | (繼承自 Exception。) |
|
TargetSite | (繼承自 Exception。) |
方法
名稱 | 描述 | |
---|---|---|
Equals(Object) | (繼承自 Object。) |
|
Finalize() | (繼承自 Object。) |
|
GetBaseException() | (繼承自 Exception。) |
|
GetHashCode() | (繼承自 Object。) |
|
GetObjectData(SerializationInfo, StreamingContext) | 此 API 支援 產品 基礎結構,而且不適合直接從程式碼使用。 以例外狀況的相關資訊填入 SerializationInfo 結構。(覆寫 Exception.GetObjectData(SerializationInfo, StreamingContext)。) |
|
GetType() | (繼承自 Exception。) |
|
MemberwiseClone() | (繼承自 Object。) |
|
ToString() | (繼承自 Exception。) |
執行緒安全
此類型的任何 public static (在 Visual Basic 中 共用 在 Visual Basic 中) 成員皆為安全執行緒。不保證任何執行個體成員為安全執行緒。
另請參閱
Microsoft.Reporting.WinForms 命名空間
回到頁首