PexAllowedExceptionFromTypeUnderTestAttribute Oluşturucular
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
| PexAllowedExceptionFromTypeUnderTestAttribute(Type) |
PexAllowedExceptionFromTypeAttribute sınıfının yeni bir örneğini başlatır. |
| PexAllowedExceptionFromTypeUnderTestAttribute(Type, Boolean) |
PexAllowedExceptionFromTypeAttribute sınıfının yeni bir örneğini başlatır. |
PexAllowedExceptionFromTypeUnderTestAttribute(Type)
PexAllowedExceptionFromTypeAttribute sınıfının yeni bir örneğini başlatır.
public:
PexAllowedExceptionFromTypeUnderTestAttribute(Type ^ allowedExceptionType);
public PexAllowedExceptionFromTypeUnderTestAttribute (Type allowedExceptionType);
new Microsoft.Pex.Framework.Validation.PexAllowedExceptionFromTypeUnderTestAttribute : Type -> Microsoft.Pex.Framework.Validation.PexAllowedExceptionFromTypeUnderTestAttribute
Public Sub New (allowedExceptionType As Type)
Parametreler
- allowedExceptionType
- Type
İzin verilen özel durumun türü.
Özel durumlar
allowedExceptionType null bir başvurudur.
Şunlara uygulanır
PexAllowedExceptionFromTypeUnderTestAttribute(Type, Boolean)
PexAllowedExceptionFromTypeAttribute sınıfının yeni bir örneğini başlatır.
public:
PexAllowedExceptionFromTypeUnderTestAttribute(Type ^ allowedExceptionType, bool acceptExceptionSubtypes);
public PexAllowedExceptionFromTypeUnderTestAttribute (Type allowedExceptionType, bool acceptExceptionSubtypes);
new Microsoft.Pex.Framework.Validation.PexAllowedExceptionFromTypeUnderTestAttribute : Type * bool -> Microsoft.Pex.Framework.Validation.PexAllowedExceptionFromTypeUnderTestAttribute
Public Sub New (allowedExceptionType As Type, acceptExceptionSubtypes As Boolean)
Parametreler
- allowedExceptionType
- Type
İzin verilen özel durumun türü.
- acceptExceptionSubtypes
- Boolean
true olarak ayarlanırsa [özel durum alt türlerini kabul et].
Özel durumlar
allowedExceptionType null bir başvurudur.