Compartir a través de


IVsAsyncEnum.Stop Method

Requests that the asynchronous enumeration be stopped.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Function Stop ( _
    fSync As Integer _
) As Integer
int Stop(
    int fSync
)
int Stop(
    [InAttribute] int fSync
)
abstract Stop : 
        fSync:int -> int
function Stop(
    fSync : int
) : int

Parameters

  • fSync
    Type: Int32

    [in] Set to true if the enumeration should be stopped synchronously and false if it can be stopped asynchronously.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsAsyncEnum::Stop(
   [in] BOOL fSync
);

.NET Framework Security

See Also

Reference

IVsAsyncEnum Interface

Microsoft.VisualStudio.Shell.Interop Namespace