Official Content

Marks the last message received through the Receive method as read.

Syntax

&VarBasedOnExtendedDataType.MarksAsRead()

Type Returned:
Numeric

Scope

Extended Data Types: MAPISession, OutlookSession
Generators: .NET.NET Framework, Java, Ruby (up to GeneXus X Evolution 3), Visual FoxPro (up to GeneXus X Evolution 3)

Description

If the Receive method was not called, or if the last call did not return a message (for instance, due to an error), the call to MarkAsRead results in error 26. 
This property must be configured after performing the Receive.

Notes:
  • In order to use this property you must set the “Functions” property with the “Allow non-standard functions on saving” value in design, and the prototype/production “Functions” property with the “Allow non-standard functions on specifying” value.
  • This method returns an error code, so it is possible to call it as follows: &Err = &DataType.MarksAsRead()

 

See Also

Receive Method
Send Method
MAPISession Data Type
OutlookSession Data Type







Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant