Click or drag to resize
CSYSTerminate Method
DLL error termination

Available since Oasis montaj version: 5.0
License: Available to anyone.  

Namespace: GeoEngine.Core.GXNetX
Assembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
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.
Syntax
public static void Terminate(
	CGXNETCore gxNetShared,
	string name
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
name
Type: SystemString
Module name
See Also