Share via


IVsOutputWindowPane.OutputStringThreadSafe Method

Thread safe method to write text to the Output window pane.

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

Syntax

'Declaration
Function OutputStringThreadSafe ( _
    pszOutputString As String _
) As Integer
int OutputStringThreadSafe(
    string pszOutputString
)
int OutputStringThreadSafe(
    [InAttribute] String^ pszOutputString
)
abstract OutputStringThreadSafe : 
        pszOutputString:string -> int
function OutputStringThreadSafe(
    pszOutputString : String
) : int

Parameters

  • pszOutputString
    Type: String

    [in] Text to be appended to the Output window pane.

Return Value

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

Remarks

COM Signature

From vsshell.idl:

From vsshell.idl:

HRESULT IVsOutputWindowPane::OutputStringThreadSafe(
   [in] LPCOLESTR pszOutputString
);

This is a thread safe version of OutputString.

.NET Framework Security

See Also

Reference

IVsOutputWindowPane Interface

Microsoft.VisualStudio.Shell.Interop Namespace