共用方式為


SoapVersionMismatchException 類別

代表在報表伺服器版本不是相容於報表控制項時,所發生的例外狀況。

繼承階層架構

Object
  Exception
    Microsoft.Reporting.WinForms.ReportViewerException
      Microsoft.Reporting.WinForms.ReportServerException
        Microsoft.Reporting.WinForms.SoapVersionMismatchException

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

語法

'宣告
<SerializableAttribute> _
Public NotInheritable Class SoapVersionMismatchException _
    Inherits ReportServerException
[SerializableAttribute]
public sealed class SoapVersionMismatchException : ReportServerException
[SerializableAttribute]
public ref class SoapVersionMismatchException sealed : public ReportServerException
[<Sealed>]
[<SerializableAttribute>]
type SoapVersionMismatchException =  
    class
        inherit ReportServerException
    end
public final class SoapVersionMismatchException extends ReportServerException

SoapVersionMismatchException 類型會公開下列成員。

屬性

  名稱 描述
公用屬性 Data 取得提供例外狀況之其他使用者定義相關資訊的索引鍵/值組集合。 (繼承自 Exception)。
公用屬性 ErrorCode 從例外狀況中傳回錯誤碼。 (繼承自 ReportServerException)。
公用屬性 HelpLink 取得或設定與這個例外狀況相關聯的說明檔連結。 (繼承自 Exception)。
公用屬性 HResult 取得或設定 HRESULT,它是指派給特定例外狀況的編碼數值。 (繼承自 Exception)。
公用屬性 InnerException 取得造成目前例外狀況的 Exception 執行個體。 (繼承自 Exception)。
公用屬性 Message 取得描述目前例外狀況的訊息。 (繼承自 Exception)。
公用屬性 Source 取得或設定造成錯誤的應用程式或物件的名稱。 (繼承自 Exception)。
公用屬性 StackTrace 取得呼叫堆疊上即時運算框架的字串表示。 (繼承自 Exception)。
公用屬性 TargetSite 取得擲回目前例外狀況的方法。 (繼承自 Exception)。

回頁首

方法

  名稱 描述
公用方法 Equals 判斷指定的物件是否等於目前的物件。 (繼承自 Object)。
公用方法 GetBaseException 在衍生類別中覆寫時,傳回一或多個後續的例外狀況的根本原因 Exception。 (繼承自 Exception)。
公用方法 GetHashCode 做為預設雜湊函式。 (繼承自 Object)。
公用方法 GetObjectData 基礎架構。 以例外狀況的相關資訊填入 SerializationInfo 結構。 (繼承自 ReportServerException)。
公用方法 GetType 取得目前執行個體的執行階段類型。 (繼承自 Exception)。
公用方法 ToString 建立並傳回目前例外狀況的字串表示。 (繼承自 Exception)。

回頁首

執行緒安全

這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。

請參閱

參考

Microsoft.Reporting.WinForms 命名空間