Partager via


ExportTestConditionAttribute, classe

 

Les classes concrètes implémentant TestCondition doivent ajouter l'attribut ExportTestConditionAttribute à leur définition de classe.Cela garantit leur détection et leur ajout à l'ensemble de conditions de test disponible dans le Concepteur de test unitaire SQL Server.

Espace de noms:   Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions
Assembly:  Microsoft.Data.Tools.Schema.Sql.UnitTesting (dans Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll)

Hiérarchie d'héritage

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

Syntaxe

[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

Constructeurs

Nom Description
System_CAPS_pubmethod ExportTestConditionAttribute(String, String)

Initializes a new instance of the ExportTestConditionAttribute class.

System_CAPS_pubmethod ExportTestConditionAttribute(String, Type)

Initialise une nouvelle instance de la classe ExportTestConditionAttribute.

Propriétés

Nom Description
System_CAPS_pubproperty ContractName

(Hérité de ExportAttribute.)

System_CAPS_pubproperty ContractType

(Hérité de ExportAttribute.)

System_CAPS_pubproperty DisplayName

(Hérité de ExportStandardMetadataAttribute.)

System_CAPS_pubproperty Id

(Hérité de ExportStandardMetadataAttribute.)

System_CAPS_pubproperty PlatformCompatibility

(Hérité de ExportStandardMetadataAttribute.)

System_CAPS_pubproperty TypeId

(Hérité de Attribute.)

System_CAPS_pubproperty Version

(Hérité de ExportStandardMetadataAttribute.)

Méthodes

Nom Description
System_CAPS_pubmethod Equals(Object)

(Hérité de Attribute.)

System_CAPS_protmethod Finalize()

(Hérité de Object.)

System_CAPS_pubmethod GetHashCode()

(Hérité de Attribute.)

System_CAPS_pubmethod GetType()

(Hérité de Object.)

System_CAPS_pubmethod IsDefaultAttribute()

(Hérité de Attribute.)

System_CAPS_pubmethod Match(Object)

(Hérité de Attribute.)

System_CAPS_protmethod MemberwiseClone()

(Hérité de Object.)

System_CAPS_pubmethod ToString()

(Hérité de Object.)

Implémentations d'interface explicite

Nom Description
System_CAPS_pubinterfaceSystem_CAPS_privmethod _Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

(Hérité de Attribute.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod _Attribute.GetTypeInfo(UInt32, UInt32, IntPtr)

(Hérité de Attribute.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod _Attribute.GetTypeInfoCount(UInt32)

(Hérité de Attribute.)

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

(Hérité de Attribute.)

Sécurité des threads

Tous les membres statiques (Shared en Visual Basic) publics de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.

Voir aussi

Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions, espace de noms

Retour au début