/// <summary>
 /// Delete an existing profile.
 /// </summary>
 /// <param name="appcontainer_name">The AppContainer name.</param>
 /// <param name="throw_on_error">True to throw on error.</param>
 /// <returns>The HRESULT from the delete operation.</returns>
 public static NtStatus Delete(string appcontainer_name, bool throw_on_error)
 {
     return(Win32NativeMethods.DeleteAppContainerProfile(appcontainer_name).ToNtException(throw_on_error));
 }