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 | |
---|---|---|
ExportTestConditionAttribute(String, String) | Initialisiert eine neue Instanz der ExportTestConditionAttribute-Klasse. |
|
ExportTestConditionAttribute(String, Type) | Initialisiert eine neue Instanz der ExportTestConditionAttribute-Klasse. |
Eigenschaften
Name | Beschreibung | |
---|---|---|
ContractName | (Geerbt von ExportAttribute.) |
|
ContractType | (Geerbt von ExportAttribute.) |
|
DisplayName | (Geerbt von ExportStandardMetadataAttribute.) |
|
Id | (Geerbt von ExportStandardMetadataAttribute.) |
|
PlatformCompatibility | (Geerbt von ExportStandardMetadataAttribute.) |
|
TypeId | (Geerbt von Attribute.) |
|
Version | (Geerbt von ExportStandardMetadataAttribute.) |
Methoden
Name | Beschreibung | |
---|---|---|
Equals(Object) | (Geerbt von Attribute.) |
|
Finalize() | (Geerbt von Object.) |
|
GetHashCode() | (Geerbt von Attribute.) |
|
GetType() | (Geerbt von Object.) |
|
IsDefaultAttribute() | (Geerbt von Attribute.) |
|
Match(Object) | (Geerbt von Attribute.) |
|
MemberwiseClone() | (Geerbt von Object.) |
|
ToString() | (Geerbt von Object.) |
Explizite Schnittstellenimplementierungen
Name | Beschreibung | |
---|---|---|
_Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) | (Geerbt von Attribute.) |
|
_Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) | (Geerbt von Attribute.) |
|
_Attribute.GetTypeInfoCount(UInt32) | (Geerbt von Attribute.) |
|
_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