Opc.Ua.SystemContext.Copy C# (CSharp) Method

Copy() public method

Creates a copy of the context that can be used with the specified operation context.
public Copy ( IOperationContext context ) : ISystemContext
context IOperationContext The operation context to use.
return ISystemContext
        public ISystemContext Copy(IOperationContext context)
        {
            SystemContext copy = (SystemContext)MemberwiseClone();

            if (context != null)
            {
                copy.m_operationContext = context;
            }

            return copy;
        }
        #endregion