本文整理汇总了C#中ManagedCallbackType类的典型用法代码示例。如果您正苦于以下问题:C# ManagedCallbackType类的具体用法?C# ManagedCallbackType怎么用?C# ManagedCallbackType使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ManagedCallbackType类属于命名空间,在下文中一共展示了ManagedCallbackType类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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;
}
开发者ID:Orvid,项目名称:Cosmos,代码行数:11,代码来源:Debugger.cs
示例2: CorAppDomainBaseEventArgs
public CorAppDomainBaseEventArgs(CorAppDomain ad, ManagedCallbackType callbackType)
: base(ad, callbackType)
{
}
开发者ID:fedorw,项目名称:monodevelop,代码行数:4,代码来源:Debugger.cs
示例3: CorBreakpointEventArgs
public CorBreakpointEventArgs(CorAppDomain appDomain,
CorThread thread,
CorBreakpoint managedBreakpoint,
ManagedCallbackType callbackType)
: base(appDomain, thread, callbackType)
{
m_break = managedBreakpoint;
}
开发者ID:fedorw,项目名称:monodevelop,代码行数:8,代码来源:Debugger.cs
示例4: HandleEvent
protected override void HandleEvent(ManagedCallbackType eventId, CorEventArgs args)
{
m_outer.InternalFireEvent(eventId, args);
}
开发者ID:fedorw,项目名称:monodevelop,代码行数:4,代码来源:Debugger.cs
示例5: CorProcessEventArgs
public CorProcessEventArgs(CorProcess process, ManagedCallbackType callbackType)
: base(process, callbackType)
{
}
开发者ID:fedorw,项目名称:monodevelop,代码行数:4,代码来源:Debugger.cs
示例6: CorExceptionUnwind2EventArgs
public CorExceptionUnwind2EventArgs(CorAppDomain appDomain, CorThread thread,
CorDebugExceptionUnwindCallbackType eventType,
int flags,
ManagedCallbackType callbackType)
: base(appDomain, thread, callbackType)
{
m_eventType = eventType;
m_flags = flags;
}
开发者ID:fedorw,项目名称:monodevelop,代码行数:9,代码来源:Debugger.cs
示例7: CorDebuggerErrorEventArgs
public CorDebuggerErrorEventArgs(CorProcess process, int hresult,
int errorCode, ManagedCallbackType callbackType)
: base(process, callbackType)
{
m_hresult = hresult;
m_errorCode = errorCode;
}
开发者ID:fedorw,项目名称:monodevelop,代码行数:7,代码来源:Debugger.cs
示例8: CorAssemblyEventArgs
public CorAssemblyEventArgs(CorAppDomain appDomain,
CorAssembly assembly, ManagedCallbackType callbackType)
: base(appDomain, callbackType)
{
m_assembly = assembly;
}
开发者ID:fedorw,项目名称:monodevelop,代码行数:6,代码来源:Debugger.cs
示例9: CorModuleEventArgs
public CorModuleEventArgs(CorAppDomain appDomain, CorModule managedModule,
ManagedCallbackType callbackType)
: base(appDomain, callbackType)
{
m_managedModule = managedModule;
}
开发者ID:fedorw,项目名称:monodevelop,代码行数:6,代码来源:Debugger.cs
示例10: CorClassEventArgs
public CorClassEventArgs(CorAppDomain appDomain, CorClass managedClass,
ManagedCallbackType callbackType)
: base(appDomain, callbackType)
{
m_class = managedClass;
}
开发者ID:fedorw,项目名称:monodevelop,代码行数:6,代码来源:Debugger.cs
示例11: CorEvalEventArgs
public CorEvalEventArgs(CorAppDomain appDomain, CorThread thread,
CorEval eval, ManagedCallbackType callbackType)
: base(appDomain, thread, callbackType)
{
m_eval = eval;
}
开发者ID:fedorw,项目名称:monodevelop,代码行数:6,代码来源:Debugger.cs
示例12: CorExceptionEventArgs
public CorExceptionEventArgs(CorAppDomain appDomain,
CorThread thread,
bool unhandled,
ManagedCallbackType callbackType)
: base(appDomain, thread, callbackType)
{
m_unhandled = unhandled;
}
开发者ID:fedorw,项目名称:monodevelop,代码行数:8,代码来源:Debugger.cs
示例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);
}
}
}
开发者ID:Orvid,项目名称:Cosmos,代码行数:31,代码来源:Debugger.cs
示例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;
}
开发者ID:fedorw,项目名称:monodevelop,代码行数:13,代码来源:Debugger.cs
示例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;
}
开发者ID:fedorw,项目名称:monodevelop,代码行数:9,代码来源:Debugger.cs
示例16: CorFunctionRemapCompleteEventArgs
public CorFunctionRemapCompleteEventArgs(CorAppDomain appDomain,
CorThread thread,
CorFunction managedFunction,
ManagedCallbackType callbackType
)
: base(appDomain, thread, callbackType)
{
m_managedFunction = managedFunction;
}
开发者ID:fedorw,项目名称:monodevelop,代码行数:9,代码来源:Debugger.cs
示例17: CorLogSwitchEventArgs
public CorLogSwitchEventArgs(CorAppDomain appDomain, CorThread thread,
int level, int reason, string logSwitchName, string parentName,
ManagedCallbackType callbackType)
: base(appDomain, thread, callbackType)
{
m_level = level;
m_reason = reason;
m_logSwitchName = logSwitchName;
m_parentName = parentName;
}
开发者ID:fedorw,项目名称:monodevelop,代码行数:10,代码来源:Debugger.cs
示例18: CorException2EventArgs
public CorException2EventArgs(CorAppDomain appDomain,
CorThread thread,
CorFrame frame,
int offset,
CorDebugExceptionCallbackType eventType,
int flags,
ManagedCallbackType callbackType)
: base(appDomain, thread, callbackType)
{
m_frame = frame;
m_offset = offset;
m_eventType = eventType;
m_flags = flags;
}
开发者ID:fedorw,项目名称:monodevelop,代码行数:14,代码来源:Debugger.cs
示例19: CorMDAEventArgs
public CorMDAEventArgs(CorMDA mda, CorThread thread, CorProcess proc,
ManagedCallbackType callbackType)
: base(proc, callbackType)
{
m_mda = mda;
Thread = thread;
//m_proc = proc;
}
开发者ID:fedorw,项目名称:monodevelop,代码行数:8,代码来源:Debugger.cs
示例20: 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;
CorController c = e.Controller;
Debug.Assert(c!=null);
if(c is CorProcess)
owner = (CorProcess)c ;
else
{
Debug.Assert(c is CorAppDomain);
owner = (c as CorAppDomain).Process;
}
Debug.Assert(owner!=null);
try
{
owner.DispatchEvent(callbackType,e);
}
finally
{
if(e.Continue)
{
e.Controller.Continue(false);
}
}
}
开发者ID:fedorw,项目名称:monodevelop,代码行数:38,代码来源:Debugger.cs
注:本文中的ManagedCallbackType类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论