Share via


IVsFileChangeEx.UnadviseFileChange(UInt32) Method

Definition

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.

Applies to