| Document Path: | Home Page / Programming / Script2Service / Interfaces / Thread Object |   |
| Properties | ErrorMessage ExitCode Name Property ReturnValue Service |
| Methods | GetMessage IsRunning PostMessage Resume Suspend Wait |
| Value | BSTR |
| Access | Get |
| Notes |
| Value | ULONG |
| Access | Get |
| Notes | The exit code of the thread is the HRESULT value returned by COM |
| Value | BSTR |
| Access | Get, Put |
| Notes |
| Value | VARIANT |
| Arguments: |
|
| Access | Get, Put |
| Notes |
| Value | VARIANT |
| Access | Get |
| Notes | This the return value of the script function. |
| Value | Service Object |
| Access | Get |
| Notes |
| Return Value | ULONG |
| Notes | For functions inside the thread to retreive a message. returns 0 if no message. |
| Return Value | BOOL |
| Notes | true: the thread is still active false: the thread has exited |
| Return Value | BOOL |
| Arguments: |
|
| Notes | Functions or applications outside of the thread use this method to inform the thread. |
| Return Value | |
| Notes | Continue to execute this thread. This method is for functions or applications outside of the thread. |
| Return Value | |
| Notes | Suspend the thread. This method is for functions or applications outside of the thread. |
| Return Value | |
| Arguments: |
|
| Notes | This method is for functions or applications outside of the thread. If milliseconds is less than 0, this method wait untill the thread exits. |