NotifyDescription.Default

Syntax:

New NotifyDescription(<ProcedureName>, <Modul>, <Parameters>, <ErrorHandlerProcedureName>, <ErrorHandlerModule>)

Parameters:

<ProcedureName> (required)

Type: String.
The name of the exported module procedure that will be called.

<Modul> (required)

Type: ManagedForm; CommandInterfaceCommand; CommonModule.
The program module that contains the procedure that will be called.
When you use type ManagedForm , the module method of the specified managed form will be called.
When you use type CommonModule , the method of the shared non-global module will be called.
When you use type CommandInterfaceCommand , the module method of the command interface command will be called.
An object of this type can be obtained only from the command module.
To obtain references to it, the “ThisObject” property should be used.
It is available in the context of the command module and similar to the ThisForm property in the form module.

<Parameters> (optional)

Type: Arbitrary.
A value of any type that will be transferred as the last parameter to the specified procedure when there is a call.
Default value: Undefined.

<ErrorHandlerProcedureName> (optional)

The name of the module exported procedure that will be called in case of an error.

<ErrorHandlerModule> (optional)

Type: ManagedForm; CommandInterfaceCommand; CommonModule.
Program module that contains the procedure that will be called in case of an error.
When you use the type ManagedForm, the module method of the specified managed form will be called.
When you use the type CommandInterfaceCommand, the module method of the command interface command will be called.
When you use the type CommonModule, the method of the shared non-global module will be called.

Description:

It creates the object and connects it to the call of the specified module procedure.

    

1C:Enterprise Developer's Community