XMLBatchExecBuilder Constructor(Int32,String,String,String)
- Last UpdatedNov 06, 2025
- 1 minute read
Constructor override that specifies a msgtype, object, and command for the first request in the batch. This instance will use the MES default TRANSACTION_NODENAME root name. Caller must make additional calls to AddRequest() to add each command request branch.
'Declaration
Public Function New( _
ByVal sessionId As Integer, _
ByVal objectName As String, _
ByVal msgType As String, _
ByVal cmd As String _
)
'Usage
Dim sessionId As Integer
Dim objectName As String
Dim msgType As String
Dim cmd As String
Dim instance As New XMLBatchExecBuilder(sessionId, objectName, msgType, cmd)
Parameters
- sessionId
- Required. The session ID to use for this batch of commands.
- objectName
- Required. The object name to use for the first command in the batch.
- msgType
- Required. The message type to use for the first command in the batch.
- cmd
- Required. The command to use for the first command in the batch.