IVsFileChangeEx.UnadviseFileChange(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 file.
public:
int UnadviseFileChange(System::UInt32 VSCOOKIE);
public:
int UnadviseFileChange(unsigned int VSCOOKIE);
int UnadviseFileChange(unsigned int VSCOOKIE);
public int UnadviseFileChange (uint VSCOOKIE);
abstract member UnadviseFileChange : uint32 -> int
Public Function UnadviseFileChange (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 AdviseFileChange(String, UInt32, 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.