CommonMessagePump.Timeout 属性

获取或设置模式等待的超时值。

命名空间:  Microsoft.VisualStudio.Shell
程序集:  Microsoft.VisualStudio.Shell.11.0(在 Microsoft.VisualStudio.Shell.11.0.dll 中)

语法

声明
Public Property Timeout As TimeSpan
public TimeSpan Timeout { get; set; }

属性值

类型:System.TimeSpan
模式等待的超时值。

备注

为一个无限期等待使用 TimeSpan.MaxValue。

此值能在调用 ModalWaitForHandles 之前或在其中一个回调过程中 ModalWaitForHandlesWithClient。

.NET Framework 安全性

请参见

参考

CommonMessagePump 类

Microsoft.VisualStudio.Shell 命名空间