コード例 #1
0
 public void LogSwitch(System.IntPtr pAppDomain, System.IntPtr pThread, int lLevel, uint ulReason, System.IntPtr pLogSwitchName, System.IntPtr pParentName)
 {
     Call(delegate
     {
         callbackSwitch.LogSwitch(
             MTA2STA.MarshalIntPtrTo <ICorDebugAppDomain>(pAppDomain),
             MTA2STA.MarshalIntPtrTo <ICorDebugThread>(pThread),
             lLevel,
             ulReason,
             MTA2STA.MarshalIntPtrTo <string>(pLogSwitchName),
             MTA2STA.MarshalIntPtrTo <string>(pParentName)
             );
     });
 }