WindowHelperService.RegisterWindowMessageHandler(WindowMessage) Method

Definition

Registers the specified delegate for event notifications.

public:
 bool RegisterWindowMessageHandler(System::Activities::Presentation::Hosting::WindowMessage ^ callback);
public bool RegisterWindowMessageHandler (System.Activities.Presentation.Hosting.WindowMessage callback);
member this.RegisterWindowMessageHandler : System.Activities.Presentation.Hosting.WindowMessage -> bool
Public Function RegisterWindowMessageHandler (callback As WindowMessage) As Boolean

Parameters

callback
WindowMessage

The delegate to be registered for event notifications.

Returns

true if the operation is successful; otherwise, false.

Exceptions

callback is null.

Applies to