WCF-Xtensions Class Reference for .NET
UseDefaultWebProxy Property (LiteHttpTransportElement)






Gets or sets a value that indicates whether the auto-configured HTTP proxy of the system should be used, if available.
Syntax
[System.Configuration.ConfigurationProperty(Name="useDefaultWebProxy", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
public System.bool UseDefaultWebProxy {get; set;}
public read-write property UseDefaultWebProxy: System.Boolean; 
System.Configuration.ConfigurationPropertyAttribute(Name="useDefaultWebProxy", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=, 
   IsRequired=, 
   IsKey=)
public function get,set UseDefaultWebProxy : System.boolean
[System.Configuration.ConfigurationProperty(Name="useDefaultWebProxy", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
public: __property System.bool get_UseDefaultWebProxy();
public: __property void set_UseDefaultWebProxy( 
   System.bool value
);
[System.Configuration.ConfigurationProperty(Name="useDefaultWebProxy", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
public:
property System.bool UseDefaultWebProxy {
   System.bool get();
   void set (    System.bool value);
}
'Declaration
 
<System.Configuration.ConfigurationPropertyAttribute(Name="useDefaultWebProxy", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=False, 
   IsRequired=False, 
   IsKey=False)>
Public Property UseDefaultWebProxy As System.Boolean
 
'Usage
 
Dim instance As LiteHttpTransportElement
Dim value As System.Boolean
 
instance.UseDefaultWebProxy = value
 
value = instance.UseDefaultWebProxy

Property Value

true if thetrue if the auto-configured HTTP proxy of the system should be used, if available; otherwise, false. The default value is true.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

LiteHttpTransportElement Class
LiteHttpTransportElement Members

Send Feedback