CommonMessagePump.IVsCommonMessagePump.SetTimeout Method
Set the timeout value for the modal wait. Use 0xFFFFFFFF for an infinite wait.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
声明
Private Function SetTimeout ( _
timeoutInMilliseconds As UInteger _
) As Integer Implements IVsCommonMessagePump.SetTimeout
用法
Dim instance As CommonMessagePump
Dim timeoutInMilliseconds As UInteger
Dim returnValue As Integer
returnValue = CType(instance, IVsCommonMessagePump).SetTimeout(timeoutInMilliseconds)
int IVsCommonMessagePump.SetTimeout(
uint timeoutInMilliseconds
)
private:
virtual int SetTimeout(
unsigned int timeoutInMilliseconds
) sealed = IVsCommonMessagePump::SetTimeout
private abstract SetTimeout :
timeoutInMilliseconds:uint32 -> int
private override SetTimeout :
timeoutInMilliseconds:uint32 -> int
JScript does not support explicit interface implementations.
Parameters
- timeoutInMilliseconds
Type: System.UInt32
Return Value
Type: System.Int32
Implements
IVsCommonMessagePump.SetTimeout(UInt32)
Remarks
This may be set before calling ModalWaitForHandles or during one of the callbacks in ModalWaitForHandlesWithClient.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.