InconclusiveCondition 类
表示不需要也不期望测试结果有任何内容的默认条件。
继承层次结构
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
Microsoft.Data.Schema.UnitTesting.Conditions.TestCondition
Microsoft.Data.Schema.UnitTesting.Conditions.InconclusiveCondition
命名空间: Microsoft.Data.Schema.UnitTesting.Conditions
程序集: Microsoft.Data.Schema.UnitTesting(在 Microsoft.Data.Schema.UnitTesting.dll 中)
语法
声明
<DatabaseSchemaProviderCompatibilityAttribute(Nothing)> _
<DatabaseSchemaProviderCompatibilityAttribute(GetType(DatabaseSchemaProvider))> _
Public NotInheritable Class InconclusiveCondition _
Inherits TestCondition
[DatabaseSchemaProviderCompatibilityAttribute(null)]
[DatabaseSchemaProviderCompatibilityAttribute(typeof(DatabaseSchemaProvider))]
public sealed class InconclusiveCondition : TestCondition
[DatabaseSchemaProviderCompatibilityAttribute(nullptr)]
[DatabaseSchemaProviderCompatibilityAttribute(typeof(DatabaseSchemaProvider))]
public ref class InconclusiveCondition sealed : public TestCondition
[<Sealed>]
[<DatabaseSchemaProviderCompatibilityAttribute(null)>]
[<DatabaseSchemaProviderCompatibilityAttribute(typeof(DatabaseSchemaProvider))>]
type InconclusiveCondition =
class
inherit TestCondition
end
public final class InconclusiveCondition extends TestCondition
InconclusiveCondition 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
InconclusiveCondition | 初始化 InconclusiveCondition 类的新实例。 |
页首
属性
名称 | 说明 | |
---|---|---|
CanRaiseEvents | 获取一个指示组件是否可以引发事件的值。 (继承自 Component。) | |
Container | 获取 IContainer,它包含 Component。 (继承自 Component。) | |
DesignMode | 获取一个值,用以指示 Component 当前是否处于设计模式。 (继承自 Component。) | |
Enabled | 获取或设置一个值,该值指示是否启用测试条件。 (继承自 TestCondition。) | |
Events | 获取附加到此 Component 的事件处理程序的列表。 (继承自 Component。) | |
Name | 获取或设置测试条件名称。 (继承自 TestCondition。) | |
Site | 获取或设置 Component 的 ISite。 (继承自 Component。) |
页首
方法
名称 | 说明 | |
---|---|---|
Assert | 验证输入参数。 (重写 TestCondition.Assert(DbConnection, array<ExecutionResult[])。) | |
CreateObjRef | 安全关键。创建一个对象,该对象包含生成用于与远程对象进行通信的代理所需的全部相关信息。 (继承自 MarshalByRefObject。) | |
Dispose() | 释放由 Component 使用的所有资源。 (继承自 Component。) | |
Dispose(Boolean) | 释放 Component 占用的非托管资源,也可以选择释放托管资源。 (继承自 Component。) | |
Equals | 确定指定的 Object 是否等于当前的 Object。 (继承自 Object。) | |
Finalize | 在通过垃圾回收将 Component 回收之前,释放非托管资源并执行其他清理操作。 (继承自 Component。) | |
GetHashCode | 用作特定类型的哈希函数。 (继承自 Object。) | |
GetLifetimeService | 安全关键。检索控制此实例的生存期策略的当前生存期服务对象。 (继承自 MarshalByRefObject。) | |
GetService | 返回一个对象,该对象表示由 Component 或它的 Container 提供的服务。 (继承自 Component。) | |
GetType | 获取当前实例的 Type。 (继承自 Object。) | |
InitializeLifetimeService | 安全关键。获取控制此实例的生存期策略的生存期服务对象。 (继承自 MarshalByRefObject。) | |
MemberwiseClone() | 创建当前 Object 的浅表副本。 (继承自 Object。) | |
MemberwiseClone(Boolean) | 创建当前 MarshalByRefObject 对象的浅表副本。 (继承自 MarshalByRefObject。) | |
ToString | 返回表示当前对象的字符串。 (重写 Component.ToString()。) |
页首
事件
名称 | 说明 | |
---|---|---|
Disposed | 当通过调用 Dispose 方法释放组件时发生。 (继承自 Component。) |
页首
备注
集合在创建时,每个新的 DatabaseTestActions 集合包含一个 InconclusiveCondition。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。