Table of Contents

Class RestartApplicationMessage

Namespace
Acuit.Pinpoint.Workstation.Messaging
Assembly
Acuit.Pinpoint.Workstation.Abstractions.dll

The message raised by the IMessenger service when an application restart has been requested (for example, due to the user interface language selection being changed).

public class RestartApplicationMessage : WorkstationRequestMessage<bool>, IWorkstationRequestMessage
Inheritance
RestartApplicationMessage
Implements
Inherited Members

Remarks

By default, Acuit Pinpoint Workstation will handle this message by attempting to close the main application window and initiate an application restart.

If a restart was initiated, the message Response will contain true; otherwise, it will contain false (e.g., a unit is at the station and something like a test in progress prevents the unit from being released).

A plug-in can customize the default behavior by registering a recipient for this message. To suppress the default behavior, the plug-in should use Reply(T) to set the response to the message.

A plug-in can emulate the operator action that this message represents by sending this message.

Constructors

RestartApplicationMessage()

public RestartApplicationMessage()