Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
3/29/2010
Sends a device configuration XML file to Configuration Manager
for processing.
Namespace:Microsoft.WindowsMobile.Configuration
Assembly:Microsoft.WindowsMobile.Configuration (in microsoft.windowsmobile.configuration.dll)
Assembly:Microsoft.WindowsMobile.Configuration (in microsoft.windowsmobile.configuration.dll)
Syntax
Remarks
When a failure occurs, and an XML document is returned, be sure to parse the XML document for errors.
Example
This example shows how to call ProcessConfiguration to set a new Browser Favorite in Internet Explorer Mobile.
Copy Code | |
---|---|
XmlDocument configDoc = new XmlDocument(); configDoc.LoadXml( "<wap-provisioningdoc>"+ "<characteristic type=\"BrowserFavorite\">"+ "<characteristic type=\"Microsoft\">"+ "<parm name=\"URL\" value=\"http://www.microsoft.com\"/>"+ "</characteristic>"+ "</characteristic>"+ "</wap-provisioningdoc>" ); ConfigurationManager.ProcessConfiguration(configDoc, false); |
Thread Safety
Any public static (
Sharedin Visual Basic) members of this type are thread-safe.
Any instance members are not guaranteed to be thread-safe.