Udostępnij za pośrednictwem


Klasa TestManagementException

Zawiera klasy podstawowej do badania zarządzania wyjątkami.

Hierarchia dziedziczenia

Object
  Exception
    ApplicationException
      VssException
        TeamFoundationServerException
          Microsoft.TeamFoundation.TestManagement.Client.TestManagementException
            Więcej...

Przestrzeń nazw:  Microsoft.TeamFoundation.TestManagement.Client
Zestaw:  Microsoft.TeamFoundation.TestManagement.Client (w Microsoft.TeamFoundation.TestManagement.Client.dll)

Składnia

'Deklaracja
<SerializableAttribute> _
Public Class TestManagementException _
    Inherits TeamFoundationServerException
[SerializableAttribute]
public class TestManagementException : TeamFoundationServerException
[SerializableAttribute]
public ref class TestManagementException : public TeamFoundationServerException
[<SerializableAttribute>]
type TestManagementException =  
    class 
        inherit TeamFoundationServerException 
    end
public class TestManagementException extends TeamFoundationServerException

Typ TestManagementException uwidacznia następujące elementy członkowskie.

Konstruktorzy

  Nazwa Opis
Metoda publiczna TestManagementException() Inicjuje nowe wystąpienie TestManagementException klasy.
Metoda publiczna TestManagementException(String) Inicjuje nowe wystąpienie TestManagementException klasy przy użyciu dostarczonego wiadomości.
Metoda chroniona TestManagementException(SerializationInfo, StreamingContext) Inicjuje nowe wystąpienie TestManagementException klasy do deserializacji.
Metoda publiczna TestManagementException(String, Exception) Inicjuje nowe wystąpienie TestManagementException klasy przy użyciu dostarczonego wiadomości i wewnętrzny wyjątek.

Początek

Właściwości

  Nazwa Opis
Właściwość publiczna Data (Odziedziczone z TeamFoundationServerException).
Właściwość publiczna ErrorCode Zwraca lub ustawia kod błędu.
Właściwość publiczna EventId (Odziedziczone z VssException).
Właściwość publiczna HelpLink Gets or sets a link to the help file associated with this exception. (Odziedziczone z Exception).
Właściwość chroniona HResult Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Odziedziczone z Exception).
Właściwość publiczna InnerException Gets the Exception instance that caused the current exception. (Odziedziczone z Exception).
Właściwość publiczna IsRemoteException (Odziedziczone z TeamFoundationServerException).
Właściwość publiczna LogException (Odziedziczone z VssException).
Właściwość publiczna LogLevel (Odziedziczone z VssException).
Właściwość publiczna Message Gets a message that describes the current exception. (Odziedziczone z Exception).
Właściwość publiczna ReportException (Odziedziczone z VssException).
Właściwość publiczna Source Gets or sets the name of the application or the object that causes the error. (Odziedziczone z Exception).
Właściwość publiczna StackTrace Gets a string representation of the immediate frames on the call stack. (Odziedziczone z Exception).
Właściwość publiczna TargetSite Gets the method that throws the current exception. (Odziedziczone z Exception).

Początek

Metody

  Nazwa Opis
Metoda publiczna Equals Determines whether the specified object is equal to the current object. (Odziedziczone z Object).
Metoda chroniona Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Odziedziczone z Object).
Metoda publiczna GetBaseException When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (Odziedziczone z Exception).
Metoda publiczna GetHashCode Serves as the default hash function. (Odziedziczone z Object).
Metoda publiczna GetObjectData Krytyczny pod względem zabezpieczeń Wypełnienie obiektu o użytkowniku serializacji dostarczonego z danymi. (Zastępuje Exception.GetObjectData(SerializationInfo, StreamingContext)).
Metoda publiczna GetProperty``1 (Odziedziczone z TeamFoundationServerException).
Metoda publiczna GetType Gets the runtime type of the current instance. (Odziedziczone z Exception).
Metoda chroniona MemberwiseClone Creates a shallow copy of the current Object. (Odziedziczone z Object).
Metoda publiczna ToString Creates and returns a string representation of the current exception. (Odziedziczone z Exception).

Początek

Bezpieczeństwo wątku

Wszystkie publiczne static (Shared w języku Visual Basic) elementy członkowskie tego typu są bezpieczne dla wątków. Wystąpienia elementów członkowskich nie dają gwarancji bezpieczeństwa wątków.

Zobacz też

Informacje

Przestrzeń nazw Microsoft.TeamFoundation.TestManagement.Client

TeamFoundationServerException

Hierarchia dziedziczenia

Object
  Exception
    ApplicationException
      VssException
        TeamFoundationServerException
          Microsoft.TeamFoundation.TestManagement.Client.TestManagementException
            Microsoft.TeamFoundation.TestManagement.Client.AccessDeniedException
            Microsoft.TeamFoundation.TestManagement.Client.AttachmentUploadManagerException
            Microsoft.TeamFoundation.TestManagement.Client.TeamProjectNotFoundException
            Microsoft.TeamFoundation.TestManagement.Client.TemporaryFolderException
            Microsoft.TeamFoundation.TestManagement.Client.TestManagementAPINotSupportedException
            Microsoft.TeamFoundation.TestManagement.Client.TestManagementConfigurationException
            Microsoft.TeamFoundation.TestManagement.Client.TestManagementConflictingOperation
            Microsoft.TeamFoundation.TestManagement.Client.TestManagementInvalidOperationException
            Microsoft.TeamFoundation.TestManagement.Client.TestManagementServerException
            Microsoft.TeamFoundation.TestManagement.Client.TestManagementValidationException
            Microsoft.TeamFoundation.TestManagement.Client.TestObjectInUseException
            Microsoft.TeamFoundation.TestManagement.Client.TestObjectNotFoundException
            Microsoft.TeamFoundation.TestManagement.Client.TestObjectUpdatedException