Udostępnij za pośrednictwem


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

'Declaration
Function UnscheduleWaitableTask ( _
    hWait As UInteger _
) As Integer
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

Microsoft.VisualStudio.Shell.Interop Namespace