WebTestRequest.Outcome Özellik
Alır veya Web performans sınaması isteği Pass ya da Fail sonucunu belirler.
Ad alanı: Microsoft.VisualStudio.TestTools.WebTesting
Derleme: Microsoft.VisualStudio.QualityTools.WebTestFramework (Microsoft.VisualStudio.QualityTools.WebTestFramework.dll içinde)
Sözdizimi
'Bildirim
Public Property Outcome As Outcome
public Outcome Outcome { get; set; }
public:
property Outcome Outcome {
Outcome get ();
void set (Outcome value);
}
member Outcome : Outcome with get, set
function get Outcome () : Outcome
function set Outcome (value : Outcome)
Özellik Değeri
Tür: Microsoft.VisualStudio.TestTools.WebTesting.Outcome
Web performans sınaması isteğinin sonucu.
Notlar
WebTestRequest.Outcome ayarlamak için birincil WebTestRequest rağmen beklenen hatası başarılı işaretlenir, beklenen hatası yok saymak için olmasıdır.
Bir WebTestRequest sonucunu Web performans sınaması kodunuzu ayarlar varsa, onu PostRequest olay işleyicisinde yapmalısınız. Önceden ayarlanmış, Web performans sınaması çalışma zamanı altyapısı, ayarladığınız değer geçersiz kılabilir.
.NET Framework Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. Kısmen güvenilen kod kitaplıklarını kullanma.