SoapHttpChannelOptions.AllowAutoRedirect Property

Gets or sets a value indicating whether the client automatically follows server redirects.

Namespace: Microsoft.Web.Services2.Messaging
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

Usage

'Usage
Dim soapHttpChannelOptions1 As SoapHttpChannelOptions

Dim returnValue As Boolean
returnValue = soapHttpChannelOptions1.AllowAutoRedirect

Dim sampleValue As Boolean
soapHttpChannelOptions1.AllowAutoRedirect = sampleValue

Syntax

'Declaration
Public Property AllowAutoRedirect() As Boolean
public bool AllowAutoRedirect {get; set;}
public: property Boolean AllowAutoRedirect{
    Boolean get();
    Void set(Boolean);
}
public boolean get_AllowAutoRedirect();
public void set_AllowAutoRedirect(boolean);
public function get AllowAutoRedirect() : Boolean;
public function set AllowAutoRedirect(Boolean);

Property Value

true to automatically redirect the client to follow server redirects; otherwise, false. The default is false.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone

See Also

Reference

SoapHttpChannelOptions Class
Microsoft.Web.Services2.Messaging Namespace

Other Resources

SoapHttpChannelOptions Members