다음을 통해 공유


VCConfiguration.StopBuild 메서드

지정된 구성에서 현재 진행 중인 빌드를 취소합니다.

네임스페이스:  Microsoft.VisualStudio.VCProjectEngine
어셈블리:  Microsoft.VisualStudio.VCProjectEngine(Microsoft.VisualStudio.VCProjectEngine.dll)

구문

‘선언
Sub StopBuild
void StopBuild()
void StopBuild()
abstract StopBuild : unit -> unit
function StopBuild()

예제

참고 방법: 프로젝트 모델 확장성에 대한 예제 코드 컴파일 컴파일 및이 예제를 실행 하는 방법에 대 한 내용은.

' Add a reference to Microsoft.VisualStudio.VCProjectEngine and have a 
' Visual C++ project loaded before running this example.
Imports EnvDTE
Imports Microsoft.VisualStudio.VCProjectEngine
Public Module Module1
    Sub Test()
        Dim prj As VCProject
        Dim cfgs As IVCCollection
        Dim cfg As VCConfiguration
        Dim MyDbg As VCDebugSettings
        prj = DTE.Solution.Projects.Item(1).Object
        cfgs = prj.Configurations
        cfg = cfgs.Item(1)
        cfg.StopBuild()
    End Sub
End Module

.NET Framework 보안

참고 항목

참조

VCConfiguration 인터페이스

Microsoft.VisualStudio.VCProjectEngine 네임스페이스