ConsoleHost 类

继承层次结构

System.Object
  Microsoft.TeamFoundation.Client.TeamFoundationRuntimeHost
    Microsoft.TeamFoundation.Client.WindowsHost
      Microsoft.TeamFoundation.Client.ConsoleHost

命名空间:  Microsoft.TeamFoundation.Client
程序集:  Microsoft.TeamFoundation.Client(在 Microsoft.TeamFoundation.Client.dll 中)

语法

声明
Public Class ConsoleHost _
    Inherits WindowsHost
public class ConsoleHost : WindowsHost

ConsoleHost 类型公开以下成员。

构造函数

  名称 说明
受保护的方法 ConsoleHost

页首

属性

  名称 说明
公共属性 AppIcon (继承自 WindowsHost。)
公共属性 ApplicationRegistryRoot (继承自 TeamFoundationRuntimeHost。)
公共属性静态成员 Canceled
公共属性 DefaultParentWindow (继承自 WindowsHost。)
公共属性静态成员 DisplayErrorsInMessageBoxWhenModal
公共属性 EnvironmentFlags (重写 WindowsHost.EnvironmentFlags。)
公共属性 Font (继承自 WindowsHost。)
公共属性 HostColors (继承自 WindowsHost。)
公共属性静态成员 IsStdErrRedirected
公共属性静态成员 IsStdInRedirected
公共属性静态成员 IsStdOutRedirected
公共属性 NewLine (重写 TeamFoundationRuntimeHost.NewLine。)
公共属性 OutputEncoding (重写 TeamFoundationRuntimeHost.OutputEncoding。)
公共属性 OutputWidth (重写 TeamFoundationRuntimeHost.OutputWidth。)
公共属性静态成员 SuppressErrors
公共属性 UserRegistryRoot (继承自 TeamFoundationRuntimeHost。)
公共属性 VsApplicationDataPath (继承自 TeamFoundationRuntimeHost。)
公共属性 WinformsStyler (继承自 WindowsHost。)

页首

方法

  名称 说明
公共方法 DisplayHelp (继承自 WindowsHost。)
公共方法 EnableModeless (继承自 TeamFoundationRuntimeHost。)
公共方法 Equals 确定指定的对象是否等于当前对象。 (继承自 Object。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法静态成员 FocusOrBlink
公共方法静态成员 GetErrorStream
公共方法 GetHashCode 用作特定类型的哈希函数。 (继承自 Object。)
公共方法静态成员 GetOutputStream
公共方法 GetService (继承自 TeamFoundationRuntimeHost。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
公共方法 GetWaitCursor (继承自 WindowsHost。)
公共方法静态成员 Initialize()
公共方法静态成员 Initialize(Icon)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
受保护的方法 OnModalDialogFormActivate (重写 WindowsHost.OnModalDialogFormActivate(Object, EventArgs)。)
公共方法静态成员 ReadLine
公共方法 ShowMessageBox (继承自 WindowsHost。)
公共方法 ShowModalDialog (继承自 WindowsHost。)
公共方法 ShowProgress
公共方法 Shutdown (继承自 TeamFoundationRuntimeHost。)
公共方法 ThemeBitmap (继承自 TeamFoundationRuntimeHost。)
公共方法静态成员 ThrowIfCanceled
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)
公共方法 UpdateCommandStatus (继承自 TeamFoundationRuntimeHost。)
公共方法 Write (重写 WindowsHost.Write(LogFlags, LogCategory, String)。)
公共方法静态成员 WriteBuffer(array<Byte[], Int32)
公共方法静态成员 WriteBuffer(array<Byte[], Int32, Boolean)

页首

字段

  名称 说明
公共字段静态成员 DisplayDisableColorsSetting
公共字段静态成员 DisplayErrorBackgroundSetting
公共字段静态成员 DisplayErrorForegroundSetting
公共字段静态成员 DisplayFallbackWidthSetting
公共字段静态成员 DisplayInfoBackgroundSetting
公共字段静态成员 DisplayInfoForegroundSetting
公共字段静态成员 DisplayWarnBackgroundSetting
公共字段静态成员 DisplayWarnForegroundSetting
受保护的字段 m_appIcon (继承自 WindowsHost。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参见

参考

Microsoft.TeamFoundation.Client 命名空间