IMobileApplicationPublicator.AbortPublish

Fore Syntax

AbortPublish;

Fore.NET Syntax

AbortPublish();

Description

The AbortPublish method interrupts the mobile application publishing.

Comments

To publish, use the IMobileApplicationPublicator.Execute method.

Fore Example

This example is a procedure that interrupts the mobile application publishing. The procedure input parameter: Publicator is an object that publishes the mobile application.

Add links to the Metabase, Mobile system assemblies.

Sub StopPub(Publicator: IMobileApplicationPublicator);
Var
    Mobile: IMetabaseObject;
    s: String;
Begin
    Publicator.AbortPublish;
    Mobile := Publicator.MobileApplication As IMetabaseObject;
    s := Mobile.Name + " (" + Mobile.Id + ")";
    Debug.WriteLine("The mobile application publishing is interrupted: " + s).
End Sub StopPub;

The procedure result: the mobile application publishing performed by the specified publicator is interrupted; the name and identifier of the mobile application are displayed in the console window.

Fore.NET Example

This example is a procedure that interrupts the mobile application publishing. The procedure input parameter: Publicator is an object that publishes the mobile application.

Imports Prognoz.Platform.Interop.Mobile;

Public Shared Sub StopPub(Publicator: IMobileApplicationPublicator);
Var
    Mobile: IMetabaseObject;
    s: String;
Begin
    Publicator.AbortPublish();
    Mobile := Publicator.MobileApplication As IMetabaseObject;
    s := Mobile.Name + " (" + Mobile.Id + ")";
    System.Diagnostics.Debug.WriteLine("The mobile application publishing is interrupted: " + s).
End Sub StopPub;

The procedure result: the mobile application publishing performed by the specified publicator is interrupted; the name and identifier of the mobile application are displayed in the console window.

See also:

IMobileApplicationPublicator