Dela via


CommonMessagePump.IVsCommonMessagePump.SetWaitTitle Method

Sets the title of the wait dialog with the specified title.

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

Syntax

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

Parameters

  • waitTitle
    Type: String

    The title.

Return Value

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

Implements

IVsCommonMessagePump.SetWaitTitle(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