ICorDebugEval2 介面ICorDebugEval2 Interface

擴充 "ICorDebugEval" 以提供泛型型別的支援。Extends "ICorDebugEval" to provide support for generic types.

方法Methods

方法Method 描述Description
CallParameterizedFunction 方法CallParameterizedFunction Method 設定指定 "ICorDebugFunction" 的呼叫,該呼叫可以嵌套在其函式採用型別參數的型別內,或本身可以接受型別參數。Sets up a call to the specified "ICorDebugFunction", which can be nested inside a type whose constructor takes type parameters, or can itself take type parameters.
CreateValueForType 方法CreateValueForType Method 取得指定之類型的新 "ICorDebugValue" 的指標,其初始值為 null 或零。Gets a pointer to a new "ICorDebugValue" of the specified type, with an initial value of null or zero.
NewParameterizedArray 方法NewParameterizedArray Method 配置指定元素類型和維度的新陣列。Allocates a new array of the specified element type and dimensions.
NewParameterizedObject 方法NewParameterizedObject Method 具現化新的參數化型別物件,並呼叫物件的函式方法。Instantiates a new parameterized type object and calls the object's constructor method.
NewParameterizedObjectNoConstructor 方法NewParameterizedObjectNoConstructor Method 將指定類別的新參數化型別物件具現化,而不嘗試呼叫函式方法Instantiates a new parameterized type object of the specified class without attempting to call a constructor method
NewStringWithLength 方法NewStringWithLength Method 使用指定的內容,建立指定長度的新字串。Creates a new string of the specified length with the specified contents.
RudeAbort 方法RudeAbort Method 中止目前正在執行的計算 ICorDebugEval2Aborts the computation that this ICorDebugEval2 is currently performing.

備註Remarks

注意

這個介面不支援跨電腦或跨處理序的遠端呼叫。This interface does not support being called remotely, either cross-machine or cross-process.

規格需求Requirements

平台: 請參閱 系統需求Platforms: See System Requirements.

標頭: CorDebug.idl、CorDebug.hHeader: CorDebug.idl, CorDebug.h

程式庫: CorGuids.libLibrary: CorGuids.lib

.NET Framework 版本:自 2.0 起可用Available since 2.0.NET Framework Versions: 自 2.0 起可用Available since 2.0

另請參閱See also