 | CSYSShowError Method |
Display any errors to the user.
Namespace:
GeoEngine.Core.GXNet
Assembly:
geoengine.core.gxnet (in geoengine.core.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void ShowError()
public static void ShowError()
Public Shared Sub ShowError
Public Shared Sub ShowError
public:
static void ShowError()
public:
static void ShowError()
static member ShowError : unit -> unit
static member ShowError : unit -> unit
Remarks
If you call a GX from another GX using iRunGX_SYS, and
the called GX registers errors, they will not be displayed
until after the "top" GX exits.
If you wish to continue without exiting, call this function
so that errors are displayed immediately to the user. For
instance, when creating a new map from inside another GX:
--- Run NEWMAP wizard. Keep trying if something is wrong (like a
too-small map scale), but exit if the user cancels (iRet==-1) ---
do {
iRet = iRunGX_SYS("newmap.gx");
if(iRet==1) ShowError_SYS(); // Dump errors.
} while(iRet==1);
This wrapper is not intended for use outside a GX, because it
uses the GX run-time machinery to display the error messages.
See Also