Constructor | |
---|---|
public | AppFabricTriggerService(string serviceNamespace, string servicePath, string defaultIssuer, string defaultKey)
Generate an instance of Azure Service Bus Service. In Parameter, specify information for connecting to Azure Service Bus service which started Azure Service Bus trigger. Parameter
|
Properties | |
public int | RetrieveTimeoutSec
Get or set the timeout in seconds when receiving a message. The default is 20 seconds. Please set an integer from 1 to 120. |
public int | RetrieveRetryTimes
Get or set the number of retries to get messages. The default is 10. Please set an integer from 0 to 2147483647. |
Methods | |
public ExecutionResponse | Execute()
you send the message to Azure Service Bus trigger to fire trigger fire. After processing the running script, blocks the process until it gets the running result message. After receiving the message, returns an instance of ExecutionResponse which holds the running result content. In this method, exception is raised when failing in connection with Azure Service Bus service. ![]() Return value:
|
public void | PutParam(string key, string value)
Set the parameters transferred to the script input variable of type string. In this method, please be sure to call before from Execute method. Parameter
|
public void | PutParam(string key, int value)
Set the parameters to transfer to the script input variable in integer type. In this method, please be sure to call before from Execute method. Parameter
|
public void | PutParam(string key, decimal value)
Set the parameters to transfer to the script input variable of type decimal. In this method, please be sure to call before from Execute method. Parameter
|
public void | PutParam(string key, System, DateTime value)
Set the parameters to transfer to the script input variable of type time. In this method, please be sure to call before from Execute method. ![]() Parameter
|
public void | PutParam(string key, bool value)
Set the input parameters to transfer to the script input variable of type boolean. In this method, please be sure to call before from Execute method. Parameter
|
public void | PutParam(string key, byte[] value)
Set the input parameters to transfer to the script input variable of type binary. In this method, please be sure to call before from Execute method. Parameter
|
public void | PutParam(string key, System.Xml.XmlDocument value)
Set the input parameters to transfer to the script input variable of type XML. In this method, please be sure to call before from Execute method. Parameter
|
Properties | |
---|---|
public int | ExitStatus
Get the exit status. ![]() |
public bool | Succeeded
Get whether the script was successfully executed. |
public Dictionary<string, object> | Results
In succeeding in execution of the script, get the Dictionary instance to retain the content of script output variable. For the Dictionary of return value, instance type C# for type of script output variables as value, and script output variables name is retained as key. When you get the value, refer to " to get the script output variable "to cast type of target. |
public ExecutionFailure | Failure
If failing in running the script, get ExecutionFailure instance which hold the error content. |
Properties | |
---|---|
public string | Type
Gets the type of error that occurred. |
public string | Message
Gets the error message occurred. |
public string | Detail
Get the details of the error. |