共用方式為


PackageUtility Class

Definition

Important

This API is not CLS-compliant.

public ref class PackageUtility abstract sealed
[System.CLSCompliant(false)]
public static class PackageUtility
public static class PackageUtility
[<System.CLSCompliant(false)>]
type PackageUtility = class
type PackageUtility = class
Public Class PackageUtility
Inheritance
PackageUtility
Attributes

Methods

ShowError(IServiceProvider, String, String)

Helper method to show an error message within the shell. This should be used instead of MessageBox.Show();

ShowError(IServiceProvider, String)

Helper method to show an error message within the shell. This should be used instead of MessageBox.Show();

ShowMessageBox(IServiceProvider, String, OLEMSGBUTTON, OLEMSGDEFBUTTON, OLEMSGICON)

Helper method to show a message box within the shell.

ShowMessageBox(IServiceProvider, String, String, OLEMSGBUTTON, OLEMSGDEFBUTTON, OLEMSGICON)

Helper method to show a message box within the shell.

ShowMessageBox(IServiceProvider, String)

Helper method to show a message box within the shell. Defaults to showing only an OK button.

Applies to