ConditionalRuleException Sınıf
Koşullu bir kuralın üç yöntemden birini yürütme sırasında bir özel durum oluştuğunda, durum oluşturulduktan özel durum temsil eder.
Devralma Hiyerarşisi
Object
Exception
Microsoft.VisualStudio.TestTools.WebTesting.WebTestException
Microsoft.VisualStudio.TestTools.WebTesting.ConditionalRuleException
Ad alanı: Microsoft.VisualStudio.TestTools.WebTesting
Derleme: Microsoft.VisualStudio.QualityTools.WebTestFramework (Microsoft.VisualStudio.QualityTools.WebTestFramework.dll içinde)
Sözdizimi
'Bildirim
<SerializableAttribute> _
Public Class ConditionalRuleException _
Inherits WebTestException
[SerializableAttribute]
public class ConditionalRuleException : WebTestException
[SerializableAttribute]
public ref class ConditionalRuleException : public WebTestException
[<SerializableAttribute>]
type ConditionalRuleException =
class
inherit WebTestException
end
public class ConditionalRuleException extends WebTestException
ConditionalRuleException türü aşağıdaki üyeleri ortaya koyar.
Oluşturucular
Ad | Açıklama | |
---|---|---|
ConditionalRuleException() | Yeni bir örneğini başlatır ConditionalRuleException sınıfı. | |
ConditionalRuleException(String) | Yeni bir örneğini başlatır ConditionalRuleException kullanarak sağlanan ileti sınıfı. | |
ConditionalRuleException(SerializationInfo, StreamingContext) | Yeni bir örneğini başlatır ConditionalRuleException sınıfı.Bir özel durum sunucudan istemciye yayılır remoting senaryolarda kullanılır. | |
ConditionalRuleException(String, Exception) | Yeni bir örneğini başlatır ConditionalRuleException belirtilen kullanarak sınıf bir iç özel durum iletisi. |
Ü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
Üç yöntemi aşağıdaki gibidir:
İş 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.