Freigeben über


ExportTestConditionAttribute-Klasse

 

Konkrete Klassen, die TestCondition implementieren, müssen ihrer Klassendefinition das ExportTestConditionAttribute-Attribut hinzufügen.Dadurch wird sichergestellt, dass sie erkannt und der Gruppe verfügbarer Testbedingungen im SQL Server-Komponententest-Designer hinzugefügt werden.

Namespace:   Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions
Assembly:  Microsoft.Data.Tools.Schema.Sql.UnitTesting (in Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll)

Vererbungshierarchie

System.Object
  System.Attribute
    System.ComponentModel.Composition.ExportAttribute
      Microsoft.SqlServer.Dac.Extensibility.ExportStandardMetadataAttribute
        Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExportTestConditionAttribute

Syntax

[MetadataAttributeAttribute]
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false)]
public class ExportTestConditionAttribute : ExportStandardMetadataAttribute
[MetadataAttributeAttribute]
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = false)]
public ref class ExportTestConditionAttribute : ExportStandardMetadataAttribute
[<MetadataAttributeAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false)>]
type ExportTestConditionAttribute = 
    class
        inherit ExportStandardMetadataAttribute
    end
<MetadataAttributeAttribute>
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := False)>
Public Class ExportTestConditionAttribute
    Inherits ExportStandardMetadataAttribute

Konstruktoren

Name Beschreibung
System_CAPS_pubmethod ExportTestConditionAttribute(String, String)

Initialisiert eine neue Instanz der ExportTestConditionAttribute-Klasse.

System_CAPS_pubmethod ExportTestConditionAttribute(String, Type)

Initialisiert eine neue Instanz der ExportTestConditionAttribute-Klasse.

Eigenschaften

Name Beschreibung
System_CAPS_pubproperty ContractName

(Geerbt von ExportAttribute.)

System_CAPS_pubproperty ContractType

(Geerbt von ExportAttribute.)

System_CAPS_pubproperty DisplayName

(Geerbt von ExportStandardMetadataAttribute.)

System_CAPS_pubproperty Id

(Geerbt von ExportStandardMetadataAttribute.)

System_CAPS_pubproperty PlatformCompatibility

(Geerbt von ExportStandardMetadataAttribute.)

System_CAPS_pubproperty TypeId

(Geerbt von Attribute.)

System_CAPS_pubproperty Version

(Geerbt von ExportStandardMetadataAttribute.)

Methoden

Name Beschreibung
System_CAPS_pubmethod Equals(Object)

(Geerbt von Attribute.)

System_CAPS_protmethod Finalize()

(Geerbt von Object.)

System_CAPS_pubmethod GetHashCode()

(Geerbt von Attribute.)

System_CAPS_pubmethod GetType()

(Geerbt von Object.)

System_CAPS_pubmethod IsDefaultAttribute()

(Geerbt von Attribute.)

System_CAPS_pubmethod Match(Object)

(Geerbt von Attribute.)

System_CAPS_protmethod MemberwiseClone()

(Geerbt von Object.)

System_CAPS_pubmethod ToString()

(Geerbt von Object.)

Explizite Schnittstellenimplementierungen

Name Beschreibung
System_CAPS_pubinterfaceSystem_CAPS_privmethod _Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

(Geerbt von Attribute.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod _Attribute.GetTypeInfo(UInt32, UInt32, IntPtr)

(Geerbt von Attribute.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod _Attribute.GetTypeInfoCount(UInt32)

(Geerbt von Attribute.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod _Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

(Geerbt von Attribute.)

Threadsicherheit

Öffentliche statische (in Visual Basic freigegebene) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions-Namespace

Zurück zum Anfang