 | CSYSTerminate Method |
DLL error termination
Namespace:
GeoEngine.Core.GXNet
Assembly:
geoengine.core.gxnet (in geoengine.core.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void Terminate(
string name
)
public static void Terminate(
string name
)
Public Shared Sub Terminate (
name As String
)
Public Shared Sub Terminate (
name As String
)
public:
static void Terminate(
String^ name
)
public:
static void Terminate(
String^ name
)
static member Terminate :
name : string -> unit
static member Terminate :
name : string -> unit
Parameters
- name
- Type: SystemString
Module name
Remarks
Call this function immediately before returning to
the caller after an error has occurred inside the
DLL. If an error has occurred, you should clean-up
(free memory, close files), call Error_SYS to register
your own error messages, call ErrorTag_SYS to set any
error message tags, call Terminate_SYS and return.
Geosoft functions that detect an error will have
already registered their own errors and called
Terminate_SYS.
See Also