共用方式為


IVsBuildManagerAccessor2.ReleaseBuildResources(UInt32) Method

Definition

Releases the resource(s) acquired with AcquireBuildResources(VSBUILDMANAGERRESOURCE, UInt32).

public:
 int ReleaseBuildResources(System::UInt32 hCookie);
public:
 int ReleaseBuildResources(unsigned int hCookie);
int ReleaseBuildResources(unsigned int hCookie);
public int ReleaseBuildResources (uint hCookie);
abstract member ReleaseBuildResources : uint32 -> int
Public Function ReleaseBuildResources (hCookie As UInteger) As Integer

Parameters

hCookie
UInt32

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

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

This method deprecates ReleaseUIThreadForBuild and EndDesignTimeBuild.

Applies to