Partager via


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

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

See Also

Reference

IVsThreadPool Interface

IVsThreadPool Members

Microsoft.VisualStudio.Shell.Interop Namespace