PackageUtility.ShowError Method

Definition

Overloads

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();

ShowError(IServiceProvider, String)

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

public:
 static void ShowError(IServiceProvider ^ serviceProvider, System::String ^ errorText);
public static void ShowError (IServiceProvider serviceProvider, string errorText);
static member ShowError : IServiceProvider * string -> unit
Public Shared Sub ShowError (serviceProvider As IServiceProvider, errorText As String)

Parameters

serviceProvider
IServiceProvider

The service provider.

errorText
String

Text to display.

Applies to

ShowError(IServiceProvider, String, String)

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

public:
 static void ShowError(IServiceProvider ^ serviceProvider, System::String ^ errorText, System::String ^ f1Keyword);
public static void ShowError (IServiceProvider serviceProvider, string errorText, string f1Keyword);
static member ShowError : IServiceProvider * string * string -> unit
Public Shared Sub ShowError (serviceProvider As IServiceProvider, errorText As String, f1Keyword As String)

Parameters

serviceProvider
IServiceProvider

The service provider.

errorText
String

Text to display.

f1Keyword
String

F1-keyword.

Applies to