IVsSolutionBuildManager.UnadviseUpdateSolutionEvents Method
Removes the caller from the list of listeners for IVsUpdateSolutionEvents2 events.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function UnadviseUpdateSolutionEvents ( _
dwCookie As UInteger _
) As Integer
'Usage
Dim instance As IVsSolutionBuildManager
Dim dwCookie As UInteger
Dim returnValue As Integer
returnValue = instance.UnadviseUpdateSolutionEvents(dwCookie)
int UnadviseUpdateSolutionEvents(
uint dwCookie
)
int UnadviseUpdateSolutionEvents(
[InAttribute] unsigned int dwCookie
)
function UnadviseUpdateSolutionEvents(
dwCookie : uint
) : int
Parameters
dwCookie
Type: System.UInt32[in] Double word containing the cookie received from a previous call to AdviseUpdateSolutionEvents.
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 vsshell.idl:
HRESULT IVsSolutionBuildManager::UnadviseUpdateSolutionEvents(
[in] VSCOOKIE dwCookie
);
Permissions
- 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
IVsSolutionBuildManager Interface