BrowserCapabilitiesCodeGenerator.Uninstall Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

Removes the browser capabilities factory from the global assembly cache and deletes its strong name public key token file.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

[SecurityPermissionAttribute(SecurityAction.Demand, Unrestricted = true)]
public bool Uninstall()

Return Value

Type: System.Boolean

true if the browser capabilities factory was uninstalled from the global assembly cache; otherwise, false.

This method restarts the Web service. The browser capabilities factory is then removed from the global assembly cache, and its strong name public key token file is deleted. The Web service is then restarted again if the uninstall succeeds.

.NET Framework
Available since 2.0
Return to top
Show: