Table of Contents

Class IUserInterfaceServiceExtensions

Namespace
Acuit.Pinpoint.Windows
Assembly
Acuit.Pinpoint.Windows.dll

Extension methods for IUserInterfaceService.

public static class IUserInterfaceServiceExtensions
Inheritance
IUserInterfaceServiceExtensions
Inherited Members

Methods

ShowErrorMessageBox(IUserInterfaceService, Exception)

Displays a message box with an error message.

public static MessageBoxResult ShowErrorMessageBox(this IUserInterfaceService userInterfaceService, Exception exception)

Parameters

userInterfaceService IUserInterfaceService

The user interface service.

exception Exception

The exception for which to display the error message.

Returns

MessageBoxResult

The message box result.

Remarks

The error message will contain the exception message, along with the messages from the inner exception hierarchy on separate lines. (See MessagesHierarchyAsMultipleLines(Exception) for details.)

Exceptions

ArgumentNullException

userInterfaceService is null.

ArgumentNullException

exception is null.