DkmClrType.Create 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| Create(Type) |
请求创建给定了应用域和 LMR 类型的 DkmClrType。 LMR 类型的外观和行为类似于 system.exception,但表示在正在调试的进程中存在的类型。 位置约束:必须从监视器组件 (组件级别 100000) 中调用 API < 。 此 API 是在 Visual Studio 14 Update 2 (VS14Update2) 中引入的。 |
| Create(DkmClrAppDomain, Type) |
请求创建给定了应用域和 LMR 类型的 DkmClrType。 LMR 类型的外观和行为类似于 system.exception,但表示在正在调试的进程中存在的类型。 位置约束:必须从监视器组件 (组件级别 100000) 中调用 API < 。 此 API 是在 Visual Studio 14 RTM (VS14RTM) 中引入的。 |
| Create(DkmClrModuleInstance, Int32, ReadOnlyCollection<DkmClrType>) |
创建新的 DkmClrType 对象实例。
|
| Create(DkmClrModuleInstance, Int32, ReadOnlyCollection<DkmClrType>, DkmClrType, UInt32, Int32, Guid) |
创建新的 DkmClrType 对象实例。
|
| Create(DkmClrModuleInstance, Int32, ReadOnlyCollection<DkmClrType>, DkmClrType, UInt32, Int32, Guid, DkmClrType, ReadOnlyCollection<DkmClrType>) |
创建新的 DkmClrType 对象实例。
|
Create(Type)
请求创建给定了应用域和 LMR 类型的 DkmClrType。 LMR 类型的外观和行为类似于 system.exception,但表示在正在调试的进程中存在的类型。
位置约束:必须从监视器组件 (组件级别 100000) 中调用 API < 。
此 API 是在 Visual Studio 14 Update 2 (VS14Update2) 中引入的。
public:
static Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^ Create(Microsoft::VisualStudio::Debugger::Metadata::Type ^ type);
public:
static Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^ Create(Microsoft::VisualStudio::Debugger::Metadata::Type ^ type);
static Microsoft::VisualStudio::Debugger::Clr::DkmClrType Create(Microsoft::VisualStudio::Debugger::Metadata::Type const & type);
public static Microsoft.VisualStudio.Debugger.Clr.DkmClrType Create (Microsoft.VisualStudio.Debugger.Metadata.Type type);
static member Create : Microsoft.VisualStudio.Debugger.Metadata.Type -> Microsoft.VisualStudio.Debugger.Clr.DkmClrType
Public Shared Function Create (type As Type) As DkmClrType
参数
- type
- Microsoft.VisualStudio.Debugger.Metadata.Type
请求LMR 类型
返回
适用于
Create(DkmClrAppDomain, Type)
请求创建给定了应用域和 LMR 类型的 DkmClrType。 LMR 类型的外观和行为类似于 system.exception,但表示在正在调试的进程中存在的类型。
位置约束:必须从监视器组件 (组件级别 100000) 中调用 API < 。
此 API 是在 Visual Studio 14 RTM (VS14RTM) 中引入的。
public:
static Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^ Create(Microsoft::VisualStudio::Debugger::Clr::DkmClrAppDomain ^ appDomain, Microsoft::VisualStudio::Debugger::Metadata::Type ^ type);
public static Microsoft.VisualStudio.Debugger.Clr.DkmClrType Create (Microsoft.VisualStudio.Debugger.Clr.DkmClrAppDomain appDomain, Microsoft.VisualStudio.Debugger.Metadata.Type type);
static member Create : Microsoft.VisualStudio.Debugger.Clr.DkmClrAppDomain * Microsoft.VisualStudio.Debugger.Metadata.Type -> Microsoft.VisualStudio.Debugger.Clr.DkmClrType
Public Shared Function Create (appDomain As DkmClrAppDomain, type As Type) As DkmClrType
参数
- appDomain
- DkmClrAppDomain
未使用。 应用域隐含为类型。
- type
- Microsoft.VisualStudio.Debugger.Metadata.Type
请求LMR 类型
返回
适用于
Create(DkmClrModuleInstance, Int32, ReadOnlyCollection<DkmClrType>)
创建新的 DkmClrType 对象实例。
此 API 是在 Visual Studio 12 RTM (VS12RTM) 中引入的。
public:
static Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^ Create(Microsoft::VisualStudio::Debugger::Clr::DkmClrModuleInstance ^ ModuleInstance, int Token, System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^> ^ GenericArguments);
public static Microsoft.VisualStudio.Debugger.Clr.DkmClrType Create (Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance ModuleInstance, int Token, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Clr.DkmClrType> GenericArguments);
static member Create : Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance * int * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Clr.DkmClrType> -> Microsoft.VisualStudio.Debugger.Clr.DkmClrType
Public Shared Function Create (ModuleInstance As DkmClrModuleInstance, Token As Integer, GenericArguments As ReadOnlyCollection(Of DkmClrType)) As DkmClrType
参数
- ModuleInstance
- DkmClrModuleInstance
中类型所在的模块。 如果该类型位于合成程序集中,此值将是同一 AppDomain 中的实际模块。
- Token
- Int32
中类型的类型定义标记。
- GenericArguments
- ReadOnlyCollection<DkmClrType>
[In,可选]如果类型为泛型,则指定类型的泛型参数。
返回
弄此方法调用的结果。
适用于
Create(DkmClrModuleInstance, Int32, ReadOnlyCollection<DkmClrType>, DkmClrType, UInt32, Int32, Guid)
创建新的 DkmClrType 对象实例。
此 API 是在 Visual Studio 14 RTM (VS14RTM) 中引入的。
public:
static Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^ Create(Microsoft::VisualStudio::Debugger::Clr::DkmClrModuleInstance ^ ModuleInstance, int Token, System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^> ^ GenericArguments, Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^ ElementType, System::UInt32 CorElementType, int ArrayRank, Guid SyntheticMvid);
public static Microsoft.VisualStudio.Debugger.Clr.DkmClrType Create (Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance ModuleInstance, int Token, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Clr.DkmClrType> GenericArguments, Microsoft.VisualStudio.Debugger.Clr.DkmClrType ElementType, uint CorElementType, int ArrayRank, Guid SyntheticMvid);
static member Create : Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance * int * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Clr.DkmClrType> * Microsoft.VisualStudio.Debugger.Clr.DkmClrType * uint32 * int * Guid -> Microsoft.VisualStudio.Debugger.Clr.DkmClrType
Public Shared Function Create (ModuleInstance As DkmClrModuleInstance, Token As Integer, GenericArguments As ReadOnlyCollection(Of DkmClrType), ElementType As DkmClrType, CorElementType As UInteger, ArrayRank As Integer, SyntheticMvid As Guid) As DkmClrType
参数
- ModuleInstance
- DkmClrModuleInstance
中类型所在的模块。 如果该类型位于合成程序集中,此值将是同一 AppDomain 中的实际模块。
- Token
- Int32
中类型的类型定义标记。
- GenericArguments
- ReadOnlyCollection<DkmClrType>
[In,可选]如果类型为泛型,则指定类型的泛型参数。
- ElementType
- DkmClrType
[In,可选]给定类型时,此类型包含或引用的对象的类型为数组、指针或引用。 如果没有元素类型,则此值为 null。
- CorElementType
- UInt32
中此类型的 CorElementType。
- ArrayRank
- Int32
中数组的秩。 如果该类型不是数组,则此值为0。
- SyntheticMvid
- Guid
中如果此类型为合成并且在调试对象中不存在,则这是该类型所属模块的 MVID。
返回
弄此方法调用的结果。
适用于
Create(DkmClrModuleInstance, Int32, ReadOnlyCollection<DkmClrType>, DkmClrType, UInt32, Int32, Guid, DkmClrType, ReadOnlyCollection<DkmClrType>)
创建新的 DkmClrType 对象实例。
此 API 是在 Visual Studio 14 Update 1 (VS14Update1) 中引入的。
public:
static Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^ Create(Microsoft::VisualStudio::Debugger::Clr::DkmClrModuleInstance ^ ModuleInstance, int Token, System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^> ^ GenericArguments, Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^ ElementType, System::UInt32 CorElementType, int ArrayRank, Guid SyntheticMvid, Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^ FunctionPointerReturnType, System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::Clr::DkmClrType ^> ^ FunctionPointerArgumentTypes);
public static Microsoft.VisualStudio.Debugger.Clr.DkmClrType Create (Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance ModuleInstance, int Token, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Clr.DkmClrType> GenericArguments, Microsoft.VisualStudio.Debugger.Clr.DkmClrType ElementType, uint CorElementType, int ArrayRank, Guid SyntheticMvid, Microsoft.VisualStudio.Debugger.Clr.DkmClrType FunctionPointerReturnType, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Clr.DkmClrType> FunctionPointerArgumentTypes);
static member Create : Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance * int * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Clr.DkmClrType> * Microsoft.VisualStudio.Debugger.Clr.DkmClrType * uint32 * int * Guid * Microsoft.VisualStudio.Debugger.Clr.DkmClrType * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Clr.DkmClrType> -> Microsoft.VisualStudio.Debugger.Clr.DkmClrType
Public Shared Function Create (ModuleInstance As DkmClrModuleInstance, Token As Integer, GenericArguments As ReadOnlyCollection(Of DkmClrType), ElementType As DkmClrType, CorElementType As UInteger, ArrayRank As Integer, SyntheticMvid As Guid, FunctionPointerReturnType As DkmClrType, FunctionPointerArgumentTypes As ReadOnlyCollection(Of DkmClrType)) As DkmClrType
参数
- ModuleInstance
- DkmClrModuleInstance
中类型所在的模块。 如果该类型位于合成程序集中,此值将是同一 AppDomain 中的实际模块。
- Token
- Int32
中类型的类型定义标记。
- GenericArguments
- ReadOnlyCollection<DkmClrType>
[In,可选]如果类型为泛型,则指定类型的泛型参数。
- ElementType
- DkmClrType
[In,可选]给定类型时,此类型包含或引用的对象的类型为数组、指针或引用。 如果没有元素类型,则此值为 null。
- CorElementType
- UInt32
中此类型的 CorElementType。
- ArrayRank
- Int32
中数组的秩。 如果该类型不是数组,则此值为0。
- SyntheticMvid
- Guid
中如果此类型为合成并且在调试对象中不存在,则这是该类型所属模块的 MVID。
- FunctionPointerReturnType
- DkmClrType
[In,可选]如果当前类型为函数指针,则指定函数指针的返回类型。
- FunctionPointerArgumentTypes
- ReadOnlyCollection<DkmClrType>
[In,可选]如果当前类型为函数指针,则指定参数的类型。
返回
弄此方法调用的结果。