WebTestException Sınıf
Bir sınama çalıştırma sırasında ortaya çıkan hataların test altyapısı tarafından atılan özel durum.
Devralma Hiyerarşisi
Object
Exception
Microsoft.VisualStudio.TestTools.WebTesting.WebTestException
Microsoft.VisualStudio.TestTools.WebTesting.ConditionalRuleException
Microsoft.VisualStudio.TestTools.WebTesting.ConnectionFailedWebTestException
Microsoft.VisualStudio.TestTools.WebTesting.WebTestEmptyTableException
Microsoft.VisualStudio.TestTools.WebTesting.WebTestEndOfDataException
Microsoft.VisualStudio.TestTools.WebTesting.WebTestStoppedException
Ad alanı: Microsoft.VisualStudio.TestTools.WebTesting
Derleme: Microsoft.VisualStudio.QualityTools.WebTestFramework (Microsoft.VisualStudio.QualityTools.WebTestFramework.dll içinde)
Sözdizimi
'Bildirim
<SerializableAttribute> _
Public Class WebTestException _
Inherits Exception
[SerializableAttribute]
public class WebTestException : Exception
[SerializableAttribute]
public ref class WebTestException : public Exception
[<SerializableAttribute>]
type WebTestException =
class
inherit Exception
end
public class WebTestException extends Exception
WebTestException türü aşağıdaki üyeleri ortaya koyar.
Oluşturucular
Ad | Açıklama | |
---|---|---|
WebTestException() | Yeni bir örneğini başlatır WebTestException sınıfı. | |
WebTestException(String) | Yeni bir örneğini başlatır WebTestException bir hata iletisiyle sınıfı. | |
WebTestException(SerializationInfo, StreamingContext) | Yeni bir örneğini başlatır WebTestException remoting senaryoları için sınıf. | |
WebTestException(String, Exception) | Yeni bir örneğini başlatır WebTestException bir hata iletisi ve iç başvuru sınıfla Exception bu özel duruma neden oldu. |
Üst
Özellikler
Ad | Açıklama | |
---|---|---|
Data | Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Exception kaynağından devralındı.) | |
HelpLink | Gets or sets a link to the help file associated with this exception. (Exception kaynağından devralındı.) | |
HResult | Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Exception kaynağından devralındı.) | |
InnerException | Gets the Exception instance that caused the current exception. (Exception kaynağından devralındı.) | |
Message | Gets a message that describes the current exception. (Exception kaynağından devralındı.) | |
Source | Gets or sets the name of the application or the object that causes the error. (Exception kaynağından devralındı.) | |
StackTrace | Gets a string representation of the immediate frames on the call stack. (Exception kaynağından devralındı.) | |
TargetSite | Gets the method that throws the current exception. (Exception kaynağından devralındı.) |
Üst
Yöntemler
Ad | Açıklama | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Object kaynağından devralındı.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Object kaynağından devralındı.) | |
GetBaseException | When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (Exception kaynağından devralındı.) | |
GetHashCode | Serves as the default hash function. (Object kaynağından devralındı.) | |
GetObjectData | When overridden in a derived class, sets the SerializationInfo with information about the exception. (Exception kaynağından devralındı.) | |
GetType | Gets the runtime type of the current instance. (Exception kaynağından devralındı.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Object kaynağından devralındı.) | |
ToString | Creates and returns a string representation of the current exception. (Exception kaynağından devralındı.) |
Üst
Notlar
Bu sınıf, seri hale getirilebilir.
İş Parçacığı Güvenliği
Bu türün tüm genel statik (Visual Basic'te Shared) üyeleri iş parçacığı açısından güvenlidir. Hiçbir örnek üyesinin iş parçacığı açısından güvenliği garanti edilemez.
Ayrıca bkz.
Başvuru
Microsoft.VisualStudio.TestTools.WebTesting Ad Alanı