 | CSYSTerminate Method |
DLL error termination
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic static void Terminate(
CGXNETCore gxNetShared,
string name
)
public static void Terminate(
CGXNETCore gxNetShared,
string name
)
Public Shared Sub Terminate (
gxNetShared As CGXNETCore,
name As String
)
Public Shared Sub Terminate (
gxNetShared As CGXNETCore,
name As String
)
public:
static void Terminate(
CGXNETCore^ gxNetShared,
String^ name
)
public:
static void Terminate(
CGXNETCore^ gxNetShared,
String^ name
)
static member Terminate :
gxNetShared : CGXNETCore *
name : string -> unit
static member Terminate :
gxNetShared : CGXNETCore *
name : string -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - 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