We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

WebTestRequest.IsRedirectFollow Property

Gets a value that indicates whether the request was created as the result of following a redirect.

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

public bool IsRedirectFollow { get; internal set; }

Property Value

Type: System.Boolean
true if the request was created by a redirect; otherwise, false. The default value is false.