Example #1
0
 public void LogMessage(System.IntPtr pAppDomain, System.IntPtr pThread, int lLevel, System.IntPtr pLogSwitchName, System.IntPtr pMessage)
 {
     Call(delegate {
         callbackSwitch.LogMessage(
             MTA2STA.MarshalIntPtrTo <ICorDebugAppDomain>(pAppDomain),
             MTA2STA.MarshalIntPtrTo <ICorDebugThread>(pThread),
             lLevel,
             MTA2STA.MarshalIntPtrTo <string>(pLogSwitchName),
             MTA2STA.MarshalIntPtrTo <string>(pMessage)
             );
     });
 }