PackageUtility Class
This API is not CLS-compliant.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.Shell.PackageUtility
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaração
<CLSCompliantAttribute(False)> _
Public NotInheritable Class PackageUtility
[CLSCompliantAttribute(false)]
public static class PackageUtility
[CLSCompliantAttribute(false)]
public ref class PackageUtility abstract sealed
[<AbstractClass>]
[<Sealed>]
[<CLSCompliantAttribute(false)>]
type PackageUtility = class end
public final class PackageUtility
Methods
Name | Description | |
---|---|---|
ShowError(IServiceProvider, String) | Helper method to show an error message within the shell. This should be used instead of MessageBox.Show(); | |
ShowError(IServiceProvider, String, String) | Helper method to show an error message within the shell. This should be used instead of MessageBox.Show(); | |
ShowMessageBox(IServiceProvider, String) | Helper method to show a message box within the shell. Defaults to showing only an OK button. | |
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. |
Top
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.