InitializerInstaller.Uninstall Method
Removes an initializer installation.
Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)
Usage
'Usage
Dim instance As InitializerInstaller
Dim savedState As IDictionary
instance.Uninstall(savedState)
Syntax
'Declaration
Public Overrides Sub Uninstall ( _
savedState As IDictionary _
)
public override void Uninstall (
IDictionary savedState
)
public:
virtual void Uninstall (
IDictionary^ savedState
) override
public void Uninstall (
IDictionary savedState
)
public override function Uninstall (
savedState : IDictionary
)
Parameters
- savedState
[in] System.Collections.IDictionary object that represents the saved state.
Exceptions
Exception type | Condition |
---|---|
ArgumentException | The System.Collections.IDictionary object in the savedState parameter might be corrupted. |
InstallException | An exception occurred while uninstalling. This exception is ignored and the uninstall continues. However, the initializer might not be fully uninstalled after the operation completes. |
Remarks
Your application must override this method in a derived class.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2003,Windows Vista
See Also
Reference
InitializerInstaller Class
InitializerInstaller Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace