Gurux.DLMS.GXDLMSException.GetServiceError C# (CSharp) Method

GetServiceError() private static method

private static GetServiceError ( ExceptionServiceError serviceError ) : string
serviceError ExceptionServiceError
return string
        private static string GetServiceError(ExceptionServiceError serviceError)
        {
            switch (serviceError)
            {
                case ExceptionServiceError.OperationNotPossible:
                    return "Operation not possible";
                case ExceptionServiceError.OtherReason:
                    return "Other reason";
                case ExceptionServiceError.ServiceNotSupported:
                    return "Service not supported";

            }
            return string.Empty;
        }
        

Same methods

GXDLMSException::GetServiceError ( ServiceError error ) : string