IVsBuildStatusCallback.BuildBegin Method

Notifies the environment that a build operation has begun.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

‘선언
Function BuildBegin ( _
    <OutAttribute> ByRef pfContinue As Integer _
) As Integer
‘사용 방법
Dim instance As IVsBuildStatusCallback
Dim pfContinue As Integer
Dim returnValue As Integer

returnValue = instance.BuildBegin(pfContinue)
int BuildBegin(
    out int pfContinue
)
int BuildBegin(
    [InAttribute] [OutAttribute] int% pfContinue
)
abstract BuildBegin : 
        pfContinue:int byref -> int 
function BuildBegin(
    pfContinue : int
) : int

Parameters

  • pfContinue
    Type: System.Int32%
    [in, out] Pointer to a flag that is set to true if the build process can continue and false if it should be terminated.

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 IVsBuildStatusCallback::BuildBegin(
   [in, out] BOOL *pfContinue
);

Projects call this method when they begin a build operation to alert the environment. The environment in turn can cancel the build by setting the contents of pfContinue to false.

.NET Framework Security

See Also

Reference

IVsBuildStatusCallback Interface

IVsBuildStatusCallback Members

Microsoft.VisualStudio.Shell.Interop Namespace