Proxy CredentialsFrom Xml Method
Create a proxy credentials instance from an XML element
Definition
Namespace: Sandcastle.Core.BuildAssembler.BuildComponent
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.1.20.0
A ProxyCredentials object containing the settings from the XPath navigator
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.1.20.0
C#
public static ProxyCredentials FromXml(
XElement configuration
)VB
Public Shared Function FromXml (
configuration As XElement
) As ProxyCredentialsC++
public:
static ProxyCredentials^ FromXml(
XElement^ configuration
)F#
static member FromXml :
configuration : XElement -> ProxyCredentials Parameters
- configuration XElement
- The XML element from which to obtain the settings
Return Value
ProxyCredentialsA ProxyCredentials object containing the settings from the XPath navigator
Remarks
It should contain an element called proxyCredentials with two attributes
(useProxy and proxyServer) and a nested userCredentials element.