Share via


CommonMessagePump.IVsCommonMessagePump.SetWaitText Method

Sets the wait dialog text.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Private Function SetWaitText ( _
    waitText As String _
) As Integer Implements IVsCommonMessagePump.SetWaitText
int IVsCommonMessagePump.SetWaitText(
    string waitText
)
private:
virtual int SetWaitText(
    String^ waitText
) sealed = IVsCommonMessagePump::SetWaitText
private abstract SetWaitText : 
        waitText:string -> int  
private override SetWaitText : 
        waitText:string -> int
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsCommonMessagePump.SetWaitText(String)

Remarks

This may be set before calling ModalWaitForHandles or during one of the callbacks in ModalWaitForHandlesWithClient.

.NET Framework Security

See Also

Reference

CommonMessagePump Class

Microsoft.VisualStudio.Shell Namespace