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
ppIVsThreadedWaitDialog
Type: Microsoft.VisualStudio.Shell.Interop.IVsThreadedWaitDialog2%The IVsThreadedWaitDialog2 interface.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.