次の方法で共有


IVsBuildStatusCallback.BuildBegin(Int32) Method

Definition

Notifies the environment that a build operation has begun.

public:
 int BuildBegin([Runtime::InteropServices::Out] int % pfContinue);
int BuildBegin([Runtime::InteropServices::Out] int & pfContinue);
public int BuildBegin (out int pfContinue);
abstract member BuildBegin : int -> int
Public Function BuildBegin (ByRef pfContinue As Integer) As Integer

Parameters

pfContinue
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.

Returns

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.

Applies to