DkmWaitUIOperation.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new DkmWaitUIOperation object. Call 'OnStart' to indicate that the operation has actually started. The caller is responsible for closing the created object after they are done.
This API was introduced in Visual Studio 15 RTM (DkmApiVersion.VS15RTM).
public:
static Microsoft::VisualStudio::Debugger::DkmWaitUIOperation ^ Create(Guid SourceId, System::String ^ Description, Microsoft::VisualStudio::Debugger::DkmWaitUIOperationFlags Flags, Microsoft::VisualStudio::Debugger::DkmDataItem ^ DataItem);
public static Microsoft.VisualStudio.Debugger.DkmWaitUIOperation Create (Guid SourceId, string Description, Microsoft.VisualStudio.Debugger.DkmWaitUIOperationFlags Flags, Microsoft.VisualStudio.Debugger.DkmDataItem DataItem);
public static Microsoft.VisualStudio.Debugger.DkmWaitUIOperation Create (Guid SourceId, string Description, Microsoft.VisualStudio.Debugger.DkmWaitUIOperationFlags Flags, Microsoft.VisualStudio.Debugger.DkmDataItem? DataItem);
static member Create : Guid * string * Microsoft.VisualStudio.Debugger.DkmWaitUIOperationFlags * Microsoft.VisualStudio.Debugger.DkmDataItem -> Microsoft.VisualStudio.Debugger.DkmWaitUIOperation
Public Shared Function Create (SourceId As Guid, Description As String, Flags As DkmWaitUIOperationFlags, DataItem As DkmDataItem) As DkmWaitUIOperation
Parameters
- SourceId
- Guid
[In] Identifies the source of an object. SourceIds are used to enable filtering in scenarios when multiple components may be creating instances of a class. For example, source ids can be used to determine if a breakpoint comes from the AD7 AL (ex: user breakpoint, or other breakpoint visible at the SDM level) instead of a breakpoint which may be created by another component (for example an internal breakpoint used for stepping).
- Description
- String
[In] Description of the operation to show to the user.
- Flags
- DkmWaitUIOperationFlags
[In] Flags for a DkmWaitUIOperation.
- DataItem
- DkmDataItem
[In,Optional] Data object to add to the new DkmWaitUIOperation instance. Pass 'null' in the case that the caller doesn't need to add a data item.
Returns
[Out] Result of this method call.