DkmJsAsyncStackFrame.Create(UInt64, UInt32, UInt32, String) 方法

定义

创建新的 DkmJsAsyncStackFrame 对象实例。

         此 API 是在 Visual Studio 14 RTM (VS14RTM) 中引入的。
public:
 static Microsoft::VisualStudio::Debugger::ParallelTasks::DkmJsAsyncStackFrame ^ Create(System::UInt64 DocumentId, System::UInt32 SourceLocationStartIndex, System::UInt32 SourceLocationLength, System::String ^ Name);
public:
 static Microsoft::VisualStudio::Debugger::ParallelTasks::DkmJsAsyncStackFrame ^ Create(unsigned long long DocumentId, unsigned int SourceLocationStartIndex, unsigned int SourceLocationLength, Platform::String ^ Name);
 static Microsoft::VisualStudio::Debugger::ParallelTasks::DkmJsAsyncStackFrame Create(unsigned long DocumentId, unsigned int SourceLocationStartIndex, unsigned int SourceLocationLength, std::wstring const & Name);
public static Microsoft.VisualStudio.Debugger.ParallelTasks.DkmJsAsyncStackFrame Create (ulong DocumentId, uint SourceLocationStartIndex, uint SourceLocationLength, string Name);
static member Create : uint64 * uint32 * uint32 * string -> Microsoft.VisualStudio.Debugger.ParallelTasks.DkmJsAsyncStackFrame
Public Shared Function Create (DocumentId As ULong, SourceLocationStartIndex As UInteger, SourceLocationLength As UInteger, Name As String) As DkmJsAsyncStackFrame

参数

DocumentId
UInt64

中一个指针,指向源位置所在的文档的 IDebugDocumentText 实现。

SourceLocationStartIndex
UInt32

[In] 文档中的从0开始的索引。

SourceLocationLength
UInt32

中当前源位置的长度。

Name
String

中堆栈帧的名称。

返回

DkmJsAsyncStackFrame

弄此方法调用的结果。

适用于