PexSubstitutionAssemblyAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指定包含附加替换项的程序集的属性
public ref class PexSubstitutionAssemblyAttribute sealed : Microsoft::Pex::Framework::Instrumentation::PexMonitorSettingsAttributeBase
[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
public sealed class PexSubstitutionAssemblyAttribute : Microsoft.Pex.Framework.Instrumentation.PexMonitorSettingsAttributeBase
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)>]
type PexSubstitutionAssemblyAttribute = class
inherit PexMonitorSettingsAttributeBase
Public NotInheritable Class PexSubstitutionAssemblyAttribute
Inherits PexMonitorSettingsAttributeBase
- 继承
- 属性
构造函数
| PexSubstitutionAssemblyAttribute(String) |
初始化 PexSubstitutionAssemblyAttribute 类的新实例。 |
| PexSubstitutionAssemblyAttribute(Type) |
初始化 PexSubstitutionAssemblyAttribute 类的新实例。 |
属性
| AssemblyLocation |
获取包含附加替换项的程序集的文件名 |
| DisablingEnvironmentVariable |
获取或设置可设置用于禁用此属性的环境变量的名称 (继承自 PexMonitorSettingsAttributeBase) |
| IsDisabled |
获取一个值,该值指示这些设置是否已被禁用 (继承自 PexMonitorSettingsAttributeBase) |
方法
| CreateInstrumentationProvider() |
创建检测提供程序 (继承自 PexMonitorSettingsAttributeBase) |
| GetService(Type) |
获取一项服务(如果可用) (继承自 PexMonitorSettingsAttributeBase) |
显式接口实现
| IServiceProvider.GetService(Type) | (继承自 PexMonitorSettingsAttributeBase) |