 | AGIScriptExec Method (String, String) |
Executes the given command.
Namespace: AsterNET.FastAGIAssembly: AsterNET (in AsterNET.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxprotected int Exec(
string application,
string options
)
Protected Function Exec (
application As String,
options As String
) As Integer
protected:
int Exec(
String^ application,
String^ options
)
member Exec :
application : string *
options : string -> int
Parameters
- application
- Type: SystemString
the name of the application to execute, for example "Dial". - options
- Type: SystemString
the parameters to pass to the application, for example "SIP/123".
Return Value
Type:
Int32 the return code of the application of -2 if the application was not found.
See Also