Share via


IVsThreadedWaitDialogFactory.CreateInstance Method

Creates instances of threaded wait dialogs.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Function CreateInstance ( _
    <OutAttribute> ByRef ppIVsThreadedWaitDialog As IVsThreadedWaitDialog2 _
) As Integer
int CreateInstance(
    out IVsThreadedWaitDialog2 ppIVsThreadedWaitDialog
)
int CreateInstance(
    [OutAttribute] IVsThreadedWaitDialog2^% ppIVsThreadedWaitDialog
)
abstract CreateInstance : 
        ppIVsThreadedWaitDialog:IVsThreadedWaitDialog2 byref -> int
function CreateInstance(
    ppIVsThreadedWaitDialog : IVsThreadedWaitDialog2
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

This method provides instances of IVsThreadedWaitDialog and IVsThreadedWaitDialog2.

.NET Framework Security

See Also

Reference

IVsThreadedWaitDialogFactory Interface

Microsoft.VisualStudio.Shell.Interop Namespace