MessageQueueAlreadyExistsException 類別

擲回,因為已建立的訊息佇列存在。

繼承階層架構

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.VisualStudio.Services.Common.VssException
        Microsoft.TeamFoundation.TeamFoundationServerException
          Microsoft.TeamFoundation.Framework.Server.TeamFoundationServiceException
            Microsoft.TeamFoundation.Framework.Server.TeamFoundationMessageQueueException
              Microsoft.TeamFoundation.Framework.Server.MessageQueueAlreadyExistsException

命名空間:  Microsoft.TeamFoundation.Framework.Server
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)

語法

'宣告
<SerializableAttribute> _
Public NotInheritable Class MessageQueueAlreadyExistsException _
    Inherits TeamFoundationMessageQueueException
[SerializableAttribute]
public sealed class MessageQueueAlreadyExistsException : TeamFoundationMessageQueueException

MessageQueueAlreadyExistsException 類型會公開下列成員。

建構函式

  名稱 描述
公用方法 MessageQueueAlreadyExistsException(String) 使用指定的佇列名稱建立新的 Microsoft.TeamFoundation.Framework.Server.MessageQueueAlreadyExistsException 執行個體。
公用方法 MessageQueueAlreadyExistsException(TeamFoundationRequestContext, SqlException, SqlError) 這個建構函式僅供系統使用。請勿直接從使用者程式碼叫用。

回頁首

屬性

  名稱 描述
公用屬性 Data 取得資料與這個例外狀況,,如果有的話。 (繼承自 TeamFoundationServerException)。
公用屬性 ErrorCode (繼承自 VssException)。
公用屬性 EventId (繼承自 VssException)。
公用屬性 FaultCode 表示例外狀況的 SOAP 錯誤碼。 (繼承自 TeamFoundationServiceException)。
公用屬性 HelpLink 取得或設定與這個例外狀況相關聯說明檔的連結。 (繼承自 Exception)。
公用屬性 InnerException 取得造成目前例外狀況的 Exception 執行個體。 (繼承自 Exception)。
公用屬性 IsRemoteException 取得描述的旗標這個例外狀況是否由伺服器擲回並由用戶端接收。 (繼承自 TeamFoundationServerException)。
公用屬性 LogException (繼承自 VssException)。
公用屬性 LogLevel (繼承自 VssException)。
公用屬性 Message 取得描述目前例外狀況的訊息。 (繼承自 Exception)。
公用屬性 ReportException (繼承自 VssException)。
公用屬性 RequestContext RequestContext 與這個例外狀況。這可能是 Null。 (繼承自 TeamFoundationServiceException)。
公用屬性 Source 取得或設定造成錯誤的應用程式或物件的名稱。 (繼承自 Exception)。
公用屬性 StackTrace 取得呼叫堆疊上之立即框架的字串表示。 (繼承自 Exception)。
公用屬性 TargetSite 取得擲回目前例外狀況的方法。 (繼承自 Exception)。

回頁首

方法

  名稱 描述
公用方法 Equals 判斷指定的物件是否等於目前物件。 (繼承自 Object)。
公用方法 GetBaseException 在衍生類別中覆寫時,傳回一或多個後續的例外狀況的根本原因 Exception。 (繼承自 Exception)。
公用方法 GetHashCode 做為預設雜湊函式。 (繼承自 Object)。
公用方法 GetObjectData 安全性關鍵。在這個例外狀況類別儲存額外的屬性。 (繼承自 TeamFoundationServiceException)。
公用方法 GetType 取得目前執行個體的執行階段型別。 (繼承自 Exception)。
公用方法 ToString 建立並傳回目前例外狀況的字串表示。 (繼承自 Exception)。

回頁首

執行緒安全

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

請參閱

參考

Microsoft.TeamFoundation.Framework.Server 命名空間