共用方式為


OutputWindow.WriteOnOutputWindowThreadSafe 方法

這個類別和它的成員會保留給內部使用,其目的不是要供您的程式碼使用。

命名空間:  Microsoft.VisualStudio.Data.Schema.Package.Internal
組件:  Microsoft.VisualStudio.Data.Schema.Package (在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)

語法

'宣告
Public Shared Sub WriteOnOutputWindowThreadSafe ( _
    pane As Guid, _
    text As String _
)
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
)

參數

  • pane
    型別:System.Guid
    您應該寫入的窗格 GUID。如果這是 Guid.Empty,則將使用一般輸出窗格。

.NET Framework 安全性

請參閱

參考

OutputWindow 類別

Microsoft.VisualStudio.Data.Schema.Package.Internal 命名空間