Επεξεργασία

Κοινή χρήση μέσω


Notification.Message([Text]) Method

Version: Available or changed with runtime version 1.0.

Specifies the content of the notification.

Syntax

[Message := ]  Notification.Message([Message: Text])

Note

This method can be invoked using property access syntax.

Parameters

Notification
 Type: Notification
An instance of the Notification data type.

[Optional] Message
 Type: Text
Displays a text string in a message window.

Return Value

[Optional] Message
 Type: Text
The message

Remarks

The Message method defines the notification. You use the Send Method (Notification) to send the notification to the client, where it will be displayed.

For more information and a detailed example, see Notifications.

Example

The following code creates a notification and sends it in the local scope.

MyNotification.Message := 'This is a notification';
MyNotification.Scope := NotificationScope::LocalScope;
MyNotification.Send;

Notification Data Type
Get Started with AL
Developing Extensions