System::Xml::XmlUrlResolver class

XmlUrlResolver class

Resolves external XML resources named by a Uniform Resource Identifier (URI).

class XmlUrlResolver : public System::Xml::XmlResolver

Methods

MethodDescription
GetEntity(SharedPtr<Uri>, String, const TypeInfo&) overrideMaps a URI to an object that contains the actual resource.
ResolveUri(SharedPtr<Uri>, String) overrideResolves the absolute URI from the base and relative URIs.
set_CachePolicy(const SharedPtr<Net::Cache::RequestCachePolicy>&)Sets the cache policy for the underlying WebRequest object.
set_Credentials(SharedPtr<Net::ICredentials>) overrideSets credentials used to authenticate web requests.
set_Proxy(const SharedPtr<Net::IWebProxy>&)Sets the network proxy for the underlying WebRequest object.
XmlUrlResolver()Initializes a new instance of the XmlUrlResolver class.

Typedefs

TypedefDescription
PtrAn alias for shared pointer to an instance of this class.

Remarks

Objects of this class should only be allocated using System::MakeObject() function. Never create instances of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

See Also