'DeclarationPublic Function New( _ ByVal statusCode As UAStatusCode, _ ByVal qualifiedSymbolicId As UAQualifiedName, _ ByVal localizedText As UALocalizedText, _ ByVal additionalInfo As String, _ ByVal innerResult As UAServiceResult _ )
'UsageDim statusCode As UAStatusCode Dim qualifiedSymbolicId As UAQualifiedName Dim localizedText As UALocalizedText Dim additionalInfo As String Dim innerResult As UAServiceResult Dim instance As New UAServiceResult(statusCode, qualifiedSymbolicId, localizedText, additionalInfo, innerResult)
public UAServiceResult( UAStatusCode statusCode, UAQualifiedName qualifiedSymbolicId, UALocalizedText localizedText, string additionalInfo, UAServiceResult innerResult )
public: UAServiceResult( UAStatusCode^ statusCode, UAQualifiedName^ qualifiedSymbolicId, UALocalizedText^ localizedText, String^ additionalInfo, UAServiceResult^ innerResult )
Parameters
- statusCode
- The status code associated with the service result. Must not be null.
Because the UAStatusCode has implicit conversions from System.Int64 and UASeverity, in languages that support implicit conversion operators (such as C# or VB.NET), you can simply use a long integer (representing the internal status code value), or one of UASeverity enumeration members (representing the severity code) in place of this parameter, and the corresponding OPC UA status code will be constructed automatically. When the implicit conversion operators are not supported (such as with Python.NET), you can use the UAStatusCode.FromInt64 or UAStatusCode.FromUASeverity static method instead.
The value of this parameter cannot be
null(Nothingin Visual Basic). - qualifiedSymbolicId
- The qualified name of the symbolic identifier associated with the status code. Must not be null.
Because the OpcLabs.EasyOpc.UA.AddressSpace.UAQualifiedName has an implicit conversion from System.String, in languages that support implicit conversion operators (such as C# or VB.NET), you can simply use a string (representing the expanded text of the qualified name) in place of this parameter, and the corresponding OPC UA qualified name will be constructed automatically. When the implicit conversion operators are not supported (such as with Python.NET), you can use the OpcLabs.EasyOpc.UA.AddressSpace.UAQualifiedName.UAQualifiedName Constructor(String) constructor instead.
The value of this parameter cannot be
null(Nothingin Visual Basic). - localizedText
- The localized description for the service result, or null if not available.
The value of this parameter can be
null(Nothingin Visual Basic). - additionalInfo
- Additional diagnostic/debugging information associated with the operation. Must not be null.
The value of this parameter cannot be
null(Nothingin Visual Basic). - innerResult
- Nested error information, or null if there is no inner result.
The value of this parameter can be
null(Nothingin Visual Basic).