WebMethodByName - cBaseLocalControlHost
Searches for the message handle of a message based on the name of a web method
Type: Function
Return Data Type: Handle
Parameters
| Parameter | Type | Description |
|---|---|---|
| sMethodName | String | The name of the web method |
Syntax
Function WebMethodByName String sMethodName Returns Handle
Call Example
Get WebMethodByName sMethodName to HandleVariable
Description
This function searches for the message handle of a message based on the name of a web method.
Use the WebPublishProcedure and WebPublishFunction commands to publish the message.
Return Value
Returns an error if the message is not published.