Share via


Classe TestCaseEndEventArgs

Rappresenta gli argomenti di evento per TestCaseEnd evento.

Gerarchia di ereditarietà

System.Object
  System.EventArgs
    Microsoft.VisualStudio.TestTools.Execution.DataCollectionEventArgs
      Microsoft.VisualStudio.TestTools.Execution.TestCaseEventArgs
        Microsoft.VisualStudio.TestTools.Execution.TestCaseEndEventArgs

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.Execution
Assembly:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

Sintassi

'Dichiarazione
<SerializableAttribute> _
Public NotInheritable Class TestCaseEndEventArgs _
    Inherits TestCaseEventArgs
[SerializableAttribute]
public sealed class TestCaseEndEventArgs : TestCaseEventArgs
[SerializableAttribute]
public ref class TestCaseEndEventArgs sealed : public TestCaseEventArgs
[<Sealed>]
[<SerializableAttribute>]
type TestCaseEndEventArgs =  
    class
        inherit TestCaseEventArgs
    end
public final class TestCaseEndEventArgs extends TestCaseEventArgs

Il tipo TestCaseEndEventArgs espone i seguenti membri.

Costruttori

  Nome Descrizione
Metodo pubblico TestCaseEndEventArgs

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica Context Ottiene o imposta le informazioni di contesto per l'evento. (Ereditato da DataCollectionEventArgs)
Proprietà pubblica IsChildTestCase Ottiene o imposta un valore che indica se il test case è un elemento figlio di un altro test case. (Ereditato da TestCaseEventArgs)
Proprietà pubblica TargetDataCollectorUri (Ereditato da DataCollectionEventArgs)
Proprietà pubblica TcmInformation Ottiene l'oggetto contenente informazioni che possono essere utilizzate per ottenere ulteriori dati sul test case da Test Manager server. (Ereditato da TestCaseEventArgs)
Proprietà pubblica TestCaseId Ottiene o imposta l'identificatore del test case. (Ereditato da TestCaseEventArgs)
Proprietà pubblica TestCaseName Ottiene o imposta il nome del test case. (Ereditato da TestCaseEventArgs)
Proprietà pubblica TestElement ottiene il test corrente. (Ereditato da TestCaseEventArgs)
Proprietà pubblica TestOutcome ottiene o imposta TestOutcome il test.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Determina se l'oggetto specificato equivale all'oggetto corrente. (Ereditato da Object)
Metodo pubblico GetHashCode Funge da funzione hash per un determinato tipo. (Ereditato da Object)
Metodo pubblico GetType Ottiene l'oggetto Type dell'istanza corrente. (Ereditato da Object)
Metodo pubblico ToString Restituisce una stringa che rappresenta l'oggetto corrente. (Ereditato da Object)

In alto

Codice thread safe

Qualsiasi membro static (Shared in Visual Basic) pubblico di questo tipo è thread-safe. I membri di istanza non sono garantiti come thread-safe.

Vedere anche

Riferimenti

Spazio dei nomi Microsoft.VisualStudio.TestTools.Execution

TestCaseEnd

TestCaseEventArgs