IVsSolutionBuildManager2.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
'宣告
Function UnadviseUpdateSolutionEvents ( _
dwCookie As UInteger _
) As Integer
'用途
Dim instance As IVsSolutionBuildManager2
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.
Implements
IVsSolutionBuildManager.UnadviseUpdateSolutionEvents(UInt32)
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsSolutionBuildManager2::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
IVsSolutionBuildManager2 Interface