XMLResultBuilder Constructor(Int32,String,Int32,String)
- Last UpdatedNov 06, 2025
- 1 minute read
Constructor override that includes an error result and the relavent error values After calling base class constructor build the result including only the included parameters
'Declaration
Public Function New( _
ByVal result As Integer, _
ByVal errorDesc As String, _
ByVal errorNum As Integer, _
ByVal errorSource As String _
)
'Usage
Dim result As Integer
Dim errorDesc As String
Dim errorNum As Integer
Dim errorSource As String
Dim instance As New XMLResultBuilder(result, errorDesc, errorNum, errorSource)
Parameters
- result
- The result as an integer to include in the response
- errorDesc
- The error description as a string to include in the response
- errorNum
- The error number as an integer to include in the response
- errorSource
- The error source as a string to include in the response