Opc.Ua.Com.Client.ComAeBrowserClient.ChangeBrowsePosition C# (CSharp) Method

ChangeBrowsePosition() private method

Changes the browse position.
private ChangeBrowsePosition ( OPCAEBROWSEDIRECTION direction, string qualifiedName ) : bool
direction OPCAEBROWSEDIRECTION The direction.
qualifiedName string The qualified area name.
return bool
        private bool ChangeBrowsePosition(OPCAEBROWSEDIRECTION direction, string qualifiedName)
        {
            string methodName = "IOPCEventAreaBrowser.CreateAreaBrowser";

            try
            {
                IOPCEventAreaBrowser server = BeginComCall<IOPCEventAreaBrowser>(methodName, true);
                server.ChangeBrowsePosition(direction, qualifiedName);
                return true;
            }
            catch (Exception e)
            {
                if (ComUtils.IsUnknownError(e, ResultIds.E_FAIL))
                {
                    ComCallError(methodName, e);
                }

                return false;
            }
            finally
            {
                EndComCall(methodName);
            }
        }