This topic has not yet been rated - Rate this topic

XHR_PROPERTY enumeration

Defines properties that you can assign to an outgoing HTTP request by calling the IXMLHTTPRequest2::SetProperty method.

Syntax


typedef enum _XHR_PROPERTY { 
  XHR_PROP_NO_CRED_PROMPT  = 0,
  XHR_PROP_NO_AUTH         = 1,
  XHR_PROP_TIMEOUT         = 2
} XHR_PROPERTY;

Constants

XHR_PROP_NO_CRED_PROMPT

Sets a flag in the HTTP request that suppresses automatic prompts for credentials.

XHR_PROP_NO_AUTH

Sets a flag in the HTTP request that configures the HTTP request that disables authentication for the request.

XHR_PROP_TIMEOUT

Sets the connect, send, and receive timeouts for HTTP socket operations.

Note  This value will not affect the timeout behavior of the entire request process.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Version

MSXML 6.0 and later

Header

Msxml6.h

IDL

Msxml6.idl

See also

IXMLHTTPRequest2::SetProperty

 

 

Send comments about this topic to Microsoft

Build date: 10/26/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.