dOPC Client Toolkit
Close
ua.client.uaStatusCodeToString

Converts the error code (Value) to a string

function uaStatusCodeToString(Value: cardinal): string;
AnsiString uaStatusCodeToString(unsigned Value);

 

This function has as input parameter a error code (Value) and returns a error string. You can also use unit ua.Statuscodes and function Statuscodes.ToString(Value). By using the uaStatusCodeToString function you don't need to add ua.Statuscodes in your uses clause. 

The implementation is as follow: 

 

function uaStatusCodeToString(Value: cardinal): string; begin result := Statuscodes.ToString(Value); end;
Kassl GmbH Copyright © 2021. All rights reserved.