Share via


WriteOnOutputWindowThreadSafe Method

Used to write a string onto the VS output window

Namespace:  Microsoft.VisualStudio.Data.Tools.Package.Internal
Assembly:  Microsoft.VisualStudio.Data.Tools.Package (in Microsoft.VisualStudio.Data.Tools.Package.dll)

Syntax

'Declaration
Public Shared Sub WriteOnOutputWindowThreadSafe ( _
    pane As Guid, _
    text As String _
)
'Usage
Dim pane As Guid
Dim text As String

OutputWindow.WriteOnOutputWindowThreadSafe(pane, _
    text)
public static void WriteOnOutputWindowThreadSafe(
    Guid pane,
    string text
)
public:
static void WriteOnOutputWindowThreadSafe(
    Guid pane, 
    String^ text
)
static member WriteOnOutputWindowThreadSafe : 
        pane:Guid * 
        text:string -> unit 
public static function WriteOnOutputWindowThreadSafe(
    pane : Guid, 
    text : String
)

Parameters

  • pane
    Type: System..::..Guid
    The guid of the pane we should write to. If this is Guid.Empty then the general output pane will be used.

See Also

Reference

OutputWindow Class

Microsoft.VisualStudio.Data.Tools.Package.Internal Namespace