/// <summary>
 /// Disables a feature in the current image.
 /// </summary>
 /// <param name="session">A valid DISM Session. The DISM Session must be associated with an image. You can associate a session with an image by using the DismOpenSession Function.</param>
 /// <param name="featureName">The name of the feature that you want to disable. To disable more than one feature, separate each feature name with a semicolon.</param>
 /// <param name="packageName">Optional. The name of the parent package that the feature is a part of.
 ///
 /// This is an optional parameter. If no package is specified, then the default Windows® Foundation package is used.</param>
 /// <param name="removePayload">Specifies whether to remove the files required to enable the feature.</param>
 /// <param name="progressCallback">A progress callback method to invoke when progress is made.</param>
 /// <exception cref="DismException">When a failure occurs.</exception>
 /// <exception cref="OperationCanceledException">When the user requested the operation be canceled.</exception>
 /// <exception cref="DismRebootRequiredException">When the operation requires a reboot to complete.</exception>
 public static void DisableFeature(DismSession session, string featureName, string packageName, bool removePayload, Microsoft.Dism.DismProgressCallback progressCallback)
 {
     DismApi.DisableFeature(session, featureName, packageName, removePayload, progressCallback, null);
 }
 /// <summary>
 /// Disables a feature in the current image.
 /// </summary>
 /// <param name="session">A valid DISM Session. The DISM Session must be associated with an image. You can associate a session with an image by using the DismOpenSession Function.</param>
 /// <param name="featureName">The name of the feature that you want to disable. To disable more than one feature, separate each feature name with a semicolon.</param>
 /// <param name="packageName">Optional. The name of the parent package that the feature is a part of.
 ///
 /// This is an optional parameter. If no package is specified, then the default Windows® Foundation package is used.</param>
 /// <param name="removePayload">Specifies whether to remove the files required to enable the feature.</param>
 /// <exception cref="DismException">When a failure occurs.</exception>
 /// <exception cref="DismRebootRequiredException">When the operation requires a reboot to complete.</exception>
 public static void DisableFeature(DismSession session, string featureName, string packageName, bool removePayload)
 {
     DismApi.DisableFeature(session, featureName, packageName, removePayload, null);
 }