WindowHelperService.RegisterWindowMessageHandler(WindowMessage) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.