共用方式為


CommonMessagePump.IVsCommonMessagePump.SetStatusBarText Method

Sets the text of the status bar during the wait.

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

Syntax

'宣告
Private Function SetStatusBarText ( _
    statusBarText As String _
) As Integer Implements IVsCommonMessagePump.SetStatusBarText
int IVsCommonMessagePump.SetStatusBarText(
    string statusBarText
)

Parameters

Return Value

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

Implements

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