共用方式為


IVsThreadedWaitDialog2.StartCancelableProgressWithPercentageDialog Method

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

Syntax

'宣告
Function StartCancelableProgressWithPercentageDialog ( _
    szWaitCaption As String, _
    szWaitMessage As String, _
    szProgressText As String, _
    varStatusBmpAnim As Object, _
    szStatusBarText As String, _
    iDelayToShowDialog As Integer, _
    iTotalSteps As Integer, _
    iCurrentStep As Integer _
) As Integer
'用途
Dim instance As IVsThreadedWaitDialog2
Dim szWaitCaption As String
Dim szWaitMessage As String
Dim szProgressText As String
Dim varStatusBmpAnim As Object
Dim szStatusBarText As String
Dim iDelayToShowDialog As Integer
Dim iTotalSteps As Integer
Dim iCurrentStep As Integer
Dim returnValue As Integer

returnValue = instance.StartCancelableProgressWithPercentageDialog(szWaitCaption, _
    szWaitMessage, szProgressText, varStatusBmpAnim, _
    szStatusBarText, iDelayToShowDialog, _
    iTotalSteps, iCurrentStep)
int StartCancelableProgressWithPercentageDialog(
    string szWaitCaption,
    string szWaitMessage,
    string szProgressText,
    Object varStatusBmpAnim,
    string szStatusBarText,
    int iDelayToShowDialog,
    int iTotalSteps,
    int iCurrentStep
)
int StartCancelableProgressWithPercentageDialog(
    [InAttribute] String^ szWaitCaption, 
    [InAttribute] String^ szWaitMessage, 
    [InAttribute] String^ szProgressText, 
    [InAttribute] Object^ varStatusBmpAnim, 
    [InAttribute] String^ szStatusBarText, 
    [InAttribute] int iDelayToShowDialog, 
    [InAttribute] int iTotalSteps, 
    [InAttribute] int iCurrentStep
)
abstract StartCancelableProgressWithPercentageDialog : 
        szWaitCaption:string * 
        szWaitMessage:string * 
        szProgressText:string * 
        varStatusBmpAnim:Object * 
        szStatusBarText:string * 
        iDelayToShowDialog:int * 
        iTotalSteps:int * 
        iCurrentStep:int -> int 
function StartCancelableProgressWithPercentageDialog(
    szWaitCaption : String, 
    szWaitMessage : String, 
    szProgressText : String, 
    varStatusBmpAnim : Object, 
    szStatusBarText : String, 
    iDelayToShowDialog : int, 
    iTotalSteps : int, 
    iCurrentStep : int
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsThreadedWaitDialog2 Interface

IVsThreadedWaitDialog2 Members

Microsoft.VisualStudio.Shell.Interop Namespace