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
- szWaitCaption
Type: System.String
- szWaitMessage
Type: System.String
- szProgressText
Type: System.String
- varStatusBmpAnim
Type: System.Object
- szStatusBarText
Type: System.String
- iDelayToShowDialog
Type: System.Int32
- iTotalSteps
Type: System.Int32
- iCurrentStep
Type: System.Int32
Return Value
Type: System.Int32
.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.
See Also
Reference
IVsThreadedWaitDialog2 Interface