Partager via


SoapHttpChannelOptions.AllowAutoRedirect Property

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

Namespace: Microsoft.Web.Services3.Messaging
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.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 bool AllowAutoRedirect {
    bool get();
    void set(bool value);
}
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 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

SoapHttpChannelOptions Class
SoapHttpChannelOptions Members
Microsoft.Web.Services3.Messaging Namespace