Udostępnij za pośrednictwem


Konstruktor TestType —

Inicjuje wystąpienie TestType klasy.

Przestrzeń nazw:  Microsoft.VisualStudio.TestTools.Common
Zestaw:  Microsoft.VisualStudio.QualityTools.Common (w Microsoft.VisualStudio.QualityTools.Common.dll)

Składnia

'Deklaracja
Public Sub New ( _
    id As Guid _
)
public TestType(
    Guid id
)
public:
TestType(
    Guid id
)
new : 
        id:Guid -> TestType
public function TestType(
    id : Guid
)

Parametry

  • id
    Typ: System.Guid
    Identyfikator GUID, który unikatowo identyfikuje typ testu.

Wyjątki

Wyjątek Warunek
ArgumentNullException

The id parameter is Guid.Empty.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

TestType Klasa

Przestrzeń nazw Microsoft.VisualStudio.TestTools.Common