IVsFileChangeEx.UnadviseDirChange(UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Disables a client from receiving notifications of changes to a directory.
public:
int UnadviseDirChange(System::UInt32 VSCOOKIE);
public:
int UnadviseDirChange(unsigned int VSCOOKIE);
int UnadviseDirChange(unsigned int VSCOOKIE);
public int UnadviseDirChange (uint VSCOOKIE);
abstract member UnadviseDirChange : uint32 -> int
Public Function UnadviseDirChange (VSCOOKIE As UInteger) As Integer
Parameters
- VSCOOKIE
- UInt32
[in] Unique identifier of the file with which the event sink should be disassociated. This is the same value that was provided in the AdviseDirChange(String, Int32, IVsFileChangeEvents, UInt32) Method.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
This method must be accessed on the main thread.