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
- 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.