IVsBuildableProjectCfg.UnadviseBuildStatusCallback Method
Cancels the environment's registration to receive notifications of build status events.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'宣告
Function UnadviseBuildStatusCallback ( _
dwCookie As UInteger _
) As Integer
'用途
Dim instance As IVsBuildableProjectCfg
Dim dwCookie As UInteger
Dim returnValue As Integer
returnValue = instance.UnadviseBuildStatusCallback(dwCookie)
int UnadviseBuildStatusCallback(
uint dwCookie
)
int UnadviseBuildStatusCallback(
[InAttribute] unsigned int dwCookie
)
abstract UnadviseBuildStatusCallback :
dwCookie:uint32 -> int
function UnadviseBuildStatusCallback(
dwCookie : uint
) : int
Parameters
- dwCookie
Type: System.UInt32
[in] Abstract handle that represents the representation to be cancelled.
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 IVsBuildableProjectCfg::UnadviseBuildStatusCallback(
[in] VSCOOKIE dwCookie
);
.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
IVsBuildableProjectCfg Interface