Share via


IVsBuildManagerAccessor2.ReleaseBuildResources Method

Releases the resource(s) acquired with AcquireBuildResources.

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

Syntax

'Declaration
Function ReleaseBuildResources ( _
    hCookie As UInteger _
) As Integer
int ReleaseBuildResources(
    uint hCookie
)
int ReleaseBuildResources(
    [InAttribute] unsigned int hCookie
)
abstract ReleaseBuildResources : 
        hCookie:uint32 -> int
function ReleaseBuildResources(
    hCookie : uint
) : int

Parameters

  • hCookie
    Type: System.UInt32

    [in] The cookie that identifies the resource(s) to be released.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

This method deprecates ReleaseUIThreadForBuild and EndDesignTimeBuild.

.NET Framework Security

See Also

Reference

IVsBuildManagerAccessor2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace