SoapWebRequest.PreAuthenticate Property

Gets or sets a value indicating whether to send a preauthentication header with the SOAP request.

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

Usage

'Usage
Dim soapWebRequest1 As SoapWebRequest

Dim returnValue As Boolean
returnValue = soapWebRequest1.PreAuthenticate

Dim sampleValue As Boolean
soapWebRequest1.PreAuthenticate = sampleValue

Syntax

'Declaration
Public Overrides Property PreAuthenticate() As Boolean
public override bool PreAuthenticate {get; set;}
public: property virtual Boolean PreAuthenticate{
    Boolean get();
    Void set(Boolean);
}
public boolean get_PreAuthenticate();
public void set_PreAuthenticate(boolean);
public override function get PreAuthenticate() : Boolean;
public override function set PreAuthenticate(Boolean);

Property Value

true to preauthenticate; otherwise, false.

Remarks

The PreAuthenticate property indicates whether to send authentication information with the initial HTTP request to the XML Web service. When PreAuthenticate is false, the SoapWebRequest waits for an HTTP authentication challenge before sending authentication information.

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

SoapWebRequest Class
Microsoft.Web.Services2 Namespace

Other Resources

SoapWebRequest Members