PexAllowedExceptionFromAssemblyAttribute 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
PexAllowedExceptionFromAssemblyAttribute(Type, String)
初始化 PexAllowedExceptionFromAssemblyAttribute 类的新实例。
public:
PexAllowedExceptionFromAssemblyAttribute(Type ^ allowedExceptionType, System::String ^ assemblyName);
public PexAllowedExceptionFromAssemblyAttribute (Type allowedExceptionType, string assemblyName);
new Microsoft.Pex.Framework.Validation.PexAllowedExceptionFromAssemblyAttribute : Type * string -> Microsoft.Pex.Framework.Validation.PexAllowedExceptionFromAssemblyAttribute
Public Sub New (allowedExceptionType As Type, assemblyName As String)
参数
- allowedExceptionType
- Type
允许的异常的类型。
- assemblyName
- String
程序集的名称。
适用于
PexAllowedExceptionFromAssemblyAttribute(Type, Type)
初始化 PexAllowedExceptionFromAssemblyAttribute 类的新实例。
public:
PexAllowedExceptionFromAssemblyAttribute(Type ^ allowedExceptionType, Type ^ typeOfAssembly);
public PexAllowedExceptionFromAssemblyAttribute (Type allowedExceptionType, Type typeOfAssembly);
new Microsoft.Pex.Framework.Validation.PexAllowedExceptionFromAssemblyAttribute : Type * Type -> Microsoft.Pex.Framework.Validation.PexAllowedExceptionFromAssemblyAttribute
Public Sub New (allowedExceptionType As Type, typeOfAssembly As Type)
参数
- allowedExceptionType
- Type
允许的异常的类型。
- typeOfAssembly
- Type
程序集的类型。
适用于
PexAllowedExceptionFromAssemblyAttribute(String, String, String)
初始化 PexAllowedExceptionFromAssemblyAttribute 类的新实例。
public:
PexAllowedExceptionFromAssemblyAttribute(System::String ^ allowedExceptionTypeAssembly, System::String ^ assemblyExceptionTypeFullName, System::String ^ assemblyName);
public PexAllowedExceptionFromAssemblyAttribute (string allowedExceptionTypeAssembly, string assemblyExceptionTypeFullName, string assemblyName);
new Microsoft.Pex.Framework.Validation.PexAllowedExceptionFromAssemblyAttribute : string * string * string -> Microsoft.Pex.Framework.Validation.PexAllowedExceptionFromAssemblyAttribute
Public Sub New (allowedExceptionTypeAssembly As String, assemblyExceptionTypeFullName As String, assemblyName As String)
参数
- allowedExceptionTypeAssembly
- String
允许的异常类型程序集。
- assemblyExceptionTypeFullName
- String
程序集异常类型的全名。
- assemblyName
- String
程序集的名称。