theKernel 10.0
Loading...
Searching...
No Matches
MkErrorC_Get_CS_API

MkErrorC - various functions to 'get' data out of a MkErrorSMore...

+ Collaboration diagram for MkErrorC_Get_CS_API:

Functions

MkErrorE csmkkernel.MkErrorC.GetCode ()
  C#: MkErrorE err.GetCode() C-API
get the value of MkErrorS::code
 
int csmkkernel.MkErrorC.GetNum ()
  C#: int err.GetNum() C-API
get the MkErrorS::num. The number can be used as exit-code …
 
long csmkkernel.MkErrorC.GetSize ()
  C#: long err.GetSize() C-API
get the error-message-size from the exception-object
 
string csmkkernel.MkErrorC.GetText ()
  C#: string err.GetText() C-API
get the MkErrorS::text
 

Detailed Description

MkErrorC - various functions to 'get' data out of a MkErrorS

Function Documentation

◆ GetCode()

MkErrorE csmkkernel.MkErrorC.GetCode ( )
inline

C#: MkErrorE err.GetCode() C-API
get the value of MkErrorS::code

Definition at line 228 of file MkErrorC.cs.

228 {
229 MkErrorE errVal = Mk.MkErrorGetCode(hdl);
230 return errVal;
231 }
csmkkernel.MkKernel Mk
MkErrorE
collection for the different error-codes …

◆ GetNum()

int csmkkernel.MkErrorC.GetNum ( )
inline

C#: int err.GetNum() C-API
get the MkErrorS::num. The number can be used as exit-code …

Definition at line 234 of file MkErrorC.cs.

234 {
235 Int32 __retVal__L = Mk.MkErrorGetNum(hdl);
236 return __retVal__L;
237 }

◆ GetSize()

long csmkkernel.MkErrorC.GetSize ( )
inline

C#: long err.GetSize() C-API
get the error-message-size from the exception-object

Definition at line 240 of file MkErrorC.cs.

240 {
241 long __retVal__L = Mk.MkErrorGetSize(hdl);
242 return __retVal__L;
243 }

◆ GetText()

string csmkkernel.MkErrorC.GetText ( )
inline

C#: string err.GetText() C-API
get the MkErrorS::text

Definition at line 246 of file MkErrorC.cs.

246 {
247 IntPtr __retVal__L = Mk.MkErrorGetText(hdl);
248 return Marshal.PtrToStringAnsi(__retVal__L);
249 }