IVsMSBuildTaskFileManager.IsRealBuildOperation Method
Determines if a build is real or for design-time Intellisense.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)
Syntax
'Declaration
Function IsRealBuildOperation ( _
<OutAttribute> ByRef pfIsRealBuild As Integer _
) As Integer
int IsRealBuildOperation(
out int pfIsRealBuild
)
int IsRealBuildOperation(
[OutAttribute] int% pfIsRealBuild
)
abstract IsRealBuildOperation :
pfIsRealBuild:int byref -> int
function IsRealBuildOperation(
pfIsRealBuild : int
) : int
Parameters
pfIsRealBuild
Type: Int32%[out] A Boolean value; true if the build is a real build, otherwise 6 if the build is for design-time generation for Intellisense.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell90.idl:
HRESULT IsRealBuildOperation(
[out, retval] BOOL *pfIsRealBuild
);
.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.