Dela via


ThreadedWebTest.GetRequestEnumerator Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

This method returns the next request to be submitted in a Web performance test for Web performance tests that extend the ThreadedWebTest class.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public Overrides NotOverridable Function GetRequestEnumerator As IEnumerator(Of WebTestRequest)
public override sealed IEnumerator<WebTestRequest> GetRequestEnumerator()
public:
virtual IEnumerator<WebTestRequest^>^ GetRequestEnumerator() override sealed
abstract GetRequestEnumerator : unit -> IEnumerator<WebTestRequest> 
override GetRequestEnumerator : unit -> IEnumerator<WebTestRequest> 
public override final function GetRequestEnumerator() : IEnumerator<WebTestRequest>

Return Value

Type: System.Collections.Generic.IEnumerator<WebTestRequest>
The next request to be submitted.

Remarks

This method is called only by the Web performance test runtime engine and is not intended to be called by user written code.

.NET Framework Security

See Also

Reference

ThreadedWebTest Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace