本文整理汇总了C#中ManagedCallbackType类的典型用法代码示例。如果您正苦于以下问题:C# ManagedCallbackType类的具体用法?C# ManagedCallbackType怎么用?C# ManagedCallbackType使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ManagedCallbackType类属于命名空间,在下文中一共展示了ManagedCallbackType类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: CorNativeStopEventArgs
public CorNativeStopEventArgs(CorProcess process,
int threadId,
IntPtr debugEvent,
bool isOutOfBand,
ManagedCallbackType callbackType)
: base(process, callbackType)
{
m_threadId = threadId;
m_debugEvent = debugEvent;
m_isOutOfBand = isOutOfBand;
}
示例2: CorAppDomainBaseEventArgs
public CorAppDomainBaseEventArgs(CorAppDomain ad, ManagedCallbackType callbackType)
: base(ad, callbackType)
{
}
示例3: CorBreakpointEventArgs
public CorBreakpointEventArgs(CorAppDomain appDomain,
CorThread thread,
CorBreakpoint managedBreakpoint,
ManagedCallbackType callbackType)
: base(appDomain, thread, callbackType)
{
m_break = managedBreakpoint;
}
示例4: HandleEvent
protected override void HandleEvent(ManagedCallbackType eventId, CorEventArgs args)
{
m_outer.InternalFireEvent(eventId, args);
}
示例5: CorProcessEventArgs
public CorProcessEventArgs(CorProcess process, ManagedCallbackType callbackType)
: base(process, callbackType)
{
}
示例6: CorExceptionUnwind2EventArgs
public CorExceptionUnwind2EventArgs(CorAppDomain appDomain, CorThread thread,
CorDebugExceptionUnwindCallbackType eventType,
int flags,
ManagedCallbackType callbackType)
: base(appDomain, thread, callbackType)
{
m_eventType = eventType;
m_flags = flags;
}
示例7: CorDebuggerErrorEventArgs
public CorDebuggerErrorEventArgs(CorProcess process, int hresult,
int errorCode, ManagedCallbackType callbackType)
: base(process, callbackType)
{
m_hresult = hresult;
m_errorCode = errorCode;
}
示例8: CorAssemblyEventArgs
public CorAssemblyEventArgs(CorAppDomain appDomain,
CorAssembly assembly, ManagedCallbackType callbackType)
: base(appDomain, callbackType)
{
m_assembly = assembly;
}
示例9: CorModuleEventArgs
public CorModuleEventArgs(CorAppDomain appDomain, CorModule managedModule,
ManagedCallbackType callbackType)
: base(appDomain, callbackType)
{
m_managedModule = managedModule;
}
示例10: CorClassEventArgs
public CorClassEventArgs(CorAppDomain appDomain, CorClass managedClass,
ManagedCallbackType callbackType)
: base(appDomain, callbackType)
{
m_class = managedClass;
}
示例11: CorEvalEventArgs
public CorEvalEventArgs(CorAppDomain appDomain, CorThread thread,
CorEval eval, ManagedCallbackType callbackType)
: base(appDomain, thread, callbackType)
{
m_eval = eval;
}
示例12: CorExceptionEventArgs
public CorExceptionEventArgs(CorAppDomain appDomain,
CorThread thread,
bool unhandled,
ManagedCallbackType callbackType)
: base(appDomain, thread, callbackType)
{
m_unhandled = unhandled;
}
示例13: InternalFireEvent
/**
* Helper for invoking events. Checks to make sure that handlers
* are hooked up to a handler before the handler is invoked.
*
* We want to allow maximum flexibility by our callers. As such,
* we don't require that they call <code>e.Controller.Continue</code>,
* nor do we require that this class call it. <b>Someone</b> needs
* to call it, however.
*
* Consequently, if an exception is thrown and the process is stopped,
* the process is continued automatically.
*/
void InternalFireEvent(ManagedCallbackType callbackType, CorEventArgs e)
{
CorProcess owner = e.Process;
Debug.Assert(owner != null);
try
{
owner.DispatchEvent(callbackType, e);
}
finally
{
// If the callback marked the event to be continued, then call Continue now.
if (e.Continue)
{
e.Controller.Continue(false);
}
}
}
示例14: CorFunctionRemapOpportunityEventArgs
public CorFunctionRemapOpportunityEventArgs(CorAppDomain appDomain,
CorThread thread,
CorFunction oldFunction,
CorFunction newFunction,
int oldILoffset,
ManagedCallbackType callbackType
)
: base(appDomain, thread, callbackType)
{
m_oldFunction = oldFunction;
m_newFunction = newFunction;
m_oldILoffset = oldILoffset;
}
示例15: CorLogMessageEventArgs
public CorLogMessageEventArgs(CorAppDomain appDomain, CorThread thread,
int level, string logSwitchName, string message,
ManagedCallbackType callbackType)
: base(appDomain, thread, callbackType)
{
m_level = level;
m_logSwitchName = logSwitchName;
m_message = message;
}