IPredModelBuilder::Pause

Ee825870.c++_off(en-US,CS.10).gifEe825870.vb_on(en-US,CS.10).gif

Use this method to suspend the model build thread.

Definition

HRESULT IPredModelBuilder::Pause(longlBuildID);

Parameters

lBuildID

[in] A long that contains the build thread identifier.

Return Values

This method returns an HRESULT indicating whether it completed successfully. See the following Error Values section for more details.

Error Values

This method returns S_OK (0x00000000) to indicate success and standard COM HRESULT error values to indicate failure. For more information about standard COM errors, see Standard COM Errors. Additional information may be available using the global Err object, which can be accessed using the API function GetErrorInfo. In particular, the GetDescription method of the IErrorInfo interface may return a text description of the error.

Remarks

The build thread identifier is returned by the Start method when a model build is initiated.

Use the Resume method to resume the paused build thread.

Use the Stop method to stop the execution of the build thread. A stopped thread may not be resumed. The thread must be restarted with the Start method.

Use the Status property to check the current status of a model build.

See Also

PredModelBuilder Object

IPredModelBuilder::Start

IPredModelBuilder::Resume

IPredModelBuilder::Stop

IPredModelBuilder::get_Status

IPredModelBuilder::get_Priority, put_Priority


All rights reserved.