IVsTrackProjectDocuments2.UnadviseTrackProjectDocumentsEvents Method
This method prevents clients from receiving notifications of project documents events.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Déclaration
Function UnadviseTrackProjectDocumentsEvents ( _
dwCookie As UInteger _
) As Integer
'Utilisation
Dim instance As IVsTrackProjectDocuments2
Dim dwCookie As UInteger
Dim returnValue As Integer
returnValue = instance.UnadviseTrackProjectDocumentsEvents(dwCookie)
int UnadviseTrackProjectDocumentsEvents(
uint dwCookie
)
int UnadviseTrackProjectDocumentsEvents(
[InAttribute] unsigned int dwCookie
)
abstract UnadviseTrackProjectDocumentsEvents :
dwCookie:uint32 -> int
function UnadviseTrackProjectDocumentsEvents(
dwCookie : uint
) : int
Parameters
- dwCookie
Type: System.UInt32
[in] Abstract handle that identifies the client to be unadvised of project documents events.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From IVsTrackProjectDocuments2.idl
HRESULT IVsTrackProjectDocuments2::UnadviseTrackProjectDocumentsEvents(
[in] VSCOOKIE dwCookie
);
dwCookie is the same parameter that was returned by the call to AdviseTrackProjectDocumentsEvents.
.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.
See Also
Reference
IVsTrackProjectDocuments2 Interface