IVsThreadPool.UnscheduleWaitableTask Method
Removes a handle and task from the list of waitable tasks.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Déclaration
Function UnscheduleWaitableTask ( _
hWait As UInteger _
) As Integer
'Utilisation
Dim instance As IVsThreadPool
Dim hWait As UInteger
Dim returnValue As Integer
returnValue = instance.UnscheduleWaitableTask(hWait)
int UnscheduleWaitableTask(
uint hWait
)
int UnscheduleWaitableTask(
[InAttribute] unsigned int hWait
)
abstract UnscheduleWaitableTask :
hWait:uint32 -> int
function UnscheduleWaitableTask(
hWait : uint
) : int
Parameters
- hWait
Type: System.UInt32
[in] HANDLE to remove.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
HRESULT IVsThreadPool::UnscheduleWaitableTask();
.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.