IVsThreadedWaitDialog2.UpdateProgress Method
Namespace: Microsoft.VisualStudio.Shell.Interop
Assemblies: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'宣告
Function UpdateProgress ( _
szUpdatedWaitMessage As String, _
szProgressText As String, _
szStatusBarText As String, _
iCurrentStep As Integer, _
iTotalSteps As Integer, _
fDisableCancel As Boolean, _
<OutAttribute> ByRef pfCanceled As Boolean _
) As Integer
'用途
Dim instance As IVsThreadedWaitDialog2
Dim szUpdatedWaitMessage As String
Dim szProgressText As String
Dim szStatusBarText As String
Dim iCurrentStep As Integer
Dim iTotalSteps As Integer
Dim fDisableCancel As Boolean
Dim pfCanceled As Boolean
Dim returnValue As Integer
returnValue = instance.UpdateProgress(szUpdatedWaitMessage, _
szProgressText, szStatusBarText, _
iCurrentStep, iTotalSteps, fDisableCancel, _
pfCanceled)
int UpdateProgress(
string szUpdatedWaitMessage,
string szProgressText,
string szStatusBarText,
int iCurrentStep,
int iTotalSteps,
bool fDisableCancel,
out bool pfCanceled
)
int UpdateProgress(
[InAttribute] String^ szUpdatedWaitMessage,
[InAttribute] String^ szProgressText,
[InAttribute] String^ szStatusBarText,
[InAttribute] int iCurrentStep,
[InAttribute] int iTotalSteps,
[InAttribute] bool fDisableCancel,
[OutAttribute] bool% pfCanceled
)
abstract UpdateProgress :
szUpdatedWaitMessage:string *
szProgressText:string *
szStatusBarText:string *
iCurrentStep:int *
iTotalSteps:int *
fDisableCancel:bool *
pfCanceled:bool byref -> int
function UpdateProgress(
szUpdatedWaitMessage : String,
szProgressText : String,
szStatusBarText : String,
iCurrentStep : int,
iTotalSteps : int,
fDisableCancel : boolean,
pfCanceled : boolean
) : int
Parameters
- szUpdatedWaitMessage
Type: System.String
- szProgressText
Type: System.String
- szStatusBarText
Type: System.String
- iCurrentStep
Type: System.Int32
- iTotalSteps
Type: System.Int32
- fDisableCancel
Type: System.Boolean
- pfCanceled
Type: System.Boolean%
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