共用方式為


.NET 運行時間 Interop 事件

這些運行時間事件會擷取 Common Intermediate Language (CIL) 存根產生的相關信息。 如需如何針對診斷目的使用這些事件的詳細資訊,請參閱 記錄和追蹤 .NET 應用程式。

ILStubGenerated 事件

引發事件的關鍵詞 水準
InteropKeyword (0x2000) 資訊(4)
事件 事件標識碼 引發時機
ILStubGenerated 88 產生 IL Stub。
功能變數名稱 數據類型 描述
ModuleID win:UInt16 模組標識碼。
StubMethodID win:UInt64 存根方法標識碼。
StubFlags win:UInt32 存根的旗標:

0x1 - 反向 Interop。

0x2 - COM Interop。

0x4 - NGen.exe所產生的 Stub。

0x8 - 委派。

0x10 - 變數自變數。

0x20 - Unmanaged 被呼叫者。

0x40 - 結構封送處理
ManagedInteropMethodToken win:UInt32 Managed Interop 方法的令牌。
ManagedInteropMethodNameSpace win:UnicodeString Managed Interop 方法的命名空間和封入類型。
ManagedInteropMethodName win:UnicodeString Managed Interop 方法的名稱。
ManagedInteropMethodSignature win:UnicodeString Managed Interop 方法的簽章。
NativeMethodSignature win:UnicodeString 原生方法簽章。
StubMethodSignature win:UnicodeString 存根方法簽章。
StubMethodILCode win:UnicodeString Stub 方法的 Common Intermediate Language (CIL) 程序代碼。
ClrInstanceID win:UInt16 CLR 或 CoreCLR 實例的唯一標識碼。