ICorDebugChain::GetReason 方法

取得此呼叫鏈的發生原因。

語法

HRESULT GetReason (  
    [out] CorDebugChainReason *pReason  
);  

參數

pReason
[out] 值的指標 (CorDebugChainReason 列舉的位元組合),表示此呼叫鏈的發生原因。

規格需求

平台:請參閱系統需求

標頭:CorDebug.idl、CorDebug.h

程式庫:CorGuids.lib

.NET Framework版本:自 1.0 起提供