Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Displays an instance of a wait dialog.
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 StartWaitDialog ( _
szWaitCaption As String, _
szWaitMessage As String, _
szProgressText As String, _
varStatusBmpAnim As Object, _
szStatusBarText As String, _
iDelayToShowDialog As Integer, _
fIsCancelable As Boolean, _
fShowMarqueeProgress As Boolean _
) As Integer
int StartWaitDialog(
string szWaitCaption,
string szWaitMessage,
string szProgressText,
Object varStatusBmpAnim,
string szStatusBarText,
int iDelayToShowDialog,
bool fIsCancelable,
bool fShowMarqueeProgress
)
int StartWaitDialog(
[InAttribute] String^ szWaitCaption,
[InAttribute] String^ szWaitMessage,
[InAttribute] String^ szProgressText,
[InAttribute] Object^ varStatusBmpAnim,
[InAttribute] String^ szStatusBarText,
[InAttribute] int iDelayToShowDialog,
[InAttribute] bool fIsCancelable,
[InAttribute] bool fShowMarqueeProgress
)
abstract StartWaitDialog :
szWaitCaption:string *
szWaitMessage:string *
szProgressText:string *
varStatusBmpAnim:Object *
szStatusBarText:string *
iDelayToShowDialog:int *
fIsCancelable:bool *
fShowMarqueeProgress:bool -> int
function StartWaitDialog(
szWaitCaption : String,
szWaitMessage : String,
szProgressText : String,
varStatusBmpAnim : Object,
szStatusBarText : String,
iDelayToShowDialog : int,
fIsCancelable : boolean,
fShowMarqueeProgress : boolean
) : int
Parameters
szWaitCaption
Type: StringThe dialog caption.
szWaitMessage
Type: StringThe wait message.
szProgressText
Type: StringThe text that accompanies the progress bar. Can be nulla null reference (Nothing in Visual Basic).
varStatusBmpAnim
Type: ObjectShould be a VT_INT_PTR containing a valid BMP, or VT_NULL.
szStatusBarText
Type: StringThe text on the status bar. Can be nulla null reference (Nothing in Visual Basic).
iDelayToShowDialog
Type: Int32The number of seconds to delay showing the dialog.
fIsCancelable
Type: Booleantrue if there should be a Cancel button on the dialog, otherwise false.
fShowMarqueeProgress
Type: Booleantrue if there should be a marquee-style progress bar on the dialog, otherwise false.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.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.