Classe TestObjectInUseException
Uma exceção é acionada quando é feita uma tentativa para excluir um objeto de teste que está sendo usado por outro objeto.
Hierarquia de herança
Object
Exception
ApplicationException
VssException
TeamFoundationServerException
Microsoft.TeamFoundation.TestManagement.Client.TestManagementException
Microsoft.TeamFoundation.TestManagement.Client.TestObjectInUseException
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (em Microsoft.TeamFoundation.TestManagement.Client.dll)
Sintaxe
'Declaração
Public Class TestObjectInUseException _
Inherits TestManagementException
public class TestObjectInUseException : TestManagementException
public ref class TestObjectInUseException : public TestManagementException
type TestObjectInUseException =
class
inherit TestManagementException
end
public class TestObjectInUseException extends TestManagementException
O tipo TestObjectInUseException expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
![]() |
TestObjectInUseException(String) | Inicializa uma nova instância da TestObjectInUseException classe usando a mensagem fornecida. |
![]() |
TestObjectInUseException(String, Exception) | Inicializa uma nova instância da TestObjectInUseException classe usando a mensagem fornecida e a exceção. |
Superior
Propriedades
Nome | Descrição | |
---|---|---|
![]() |
Data | (Herdado de TeamFoundationServerException.) |
![]() |
ErrorCode | Obtém ou define o código de erro. (Herdado de TestManagementException.) |
![]() |
EventId | (Herdado de VssException.) |
![]() |
HelpLink | Gets or sets a link to the help file associated with this exception. (Herdado de Exception.) |
![]() |
HResult | Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Herdado de Exception.) |
![]() |
InnerException | Gets the Exception instance that caused the current exception. (Herdado de Exception.) |
![]() |
IsRemoteException | (Herdado de TeamFoundationServerException.) |
![]() |
LogException | (Herdado de VssException.) |
![]() |
LogLevel | (Herdado de VssException.) |
![]() |
Message | Gets a message that describes the current exception. (Herdado de Exception.) |
![]() |
ReportException | (Herdado de VssException.) |
![]() |
Source | Gets or sets the name of the application or the object that causes the error. (Herdado de Exception.) |
![]() |
StackTrace | Gets a string representation of the immediate frames on the call stack. (Herdado de Exception.) |
![]() |
TargetSite | Gets the method that throws the current exception. (Herdado de Exception.) |
Superior
Métodos
Nome | Descrição | |
---|---|---|
![]() |
Equals | Determines whether the specified object is equal to the current object. (Herdado de Object.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Herdado de Object.) |
![]() |
GetBaseException | When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (Herdado de Exception.) |
![]() |
GetHashCode | Serves as the default hash function. (Herdado de Object.) |
![]() |
GetObjectData | Segurança crítica. Preenche o objeto de informações de serialização fornecido com dados. (Herdado de TestManagementException.) |
![]() |
GetProperty``1 | (Herdado de TeamFoundationServerException.) |
![]() |
GetType | Gets the runtime type of the current instance. (Herdado de Exception.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Herdado de Object.) |
![]() |
ToString | Creates and returns a string representation of the current exception. (Herdado de Exception.) |
Superior
Acesso thread-safe
Quaisquer membros estático (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.