Compartir a través de


IVsThreadedWaitDialogFactory.CreateInstance Method

Creates instances of threaded wait dialogs.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.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: 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